π¦ ClawHub
Paint Skill
by @oangogah-claw
Generate and save simple drawings as PNG images using Python with interactive and demo modes via Pillow and Tkinter.
TERMINAL
clawhub install paint-skillπ About This Skill
paint-skill
Generate simple drawings and save as PNG images using Python PIL/Pillow.
Requirements
Installation
# Install conda/mamba if not available
brew install miniforgeCreate Python environment with tkinter support
mamba create -n py39 python=3.9 pip -y
mamba activate py39
pip install pillowOr use existing conda environment
conda install -n py39 pillow
Usage
# Activate conda environment
mamba activate py39Run the skill
python /path/to/paint_skill.py [options]Options:
--demo Generate a demo rainbow image
--park Generate park scene (boy, cat, dog)
--custom Draw custom scene (specify in code)
Features
Files
paint_skill.py - Main Python scriptSKILL.md - This documentationπ‘ Examples
# Activate conda environment
mamba activate py39Run the skill
python /path/to/paint_skill.py [options]Options:
--demo Generate a demo rainbow image
--park Generate park scene (boy, cat, dog)
--custom Draw custom scene (specify in code)