pixel-studio
Create beautiful pixel art with a retro-style canvas editor. Features multiple canvas sizes, color palettes, drawing tools, symmetry modes, and export to PNG. Perfect for game sprites, icons, and nostalgic art!
Purpose
Created to provide a fun, creative pixel art editor that lets users express themselves through retro-style digital art. Perfect for creating game assets, social media icons, or just having fun with pixel art. Features include multiple tools, symmetry modes, and PNG export.
Tech Stack
Tags
Startup Command
/root/ily.dog/venv/bin/python app.py
Run from project directory: /root/ily.dog/apps/pixel-studio
README
๐จ Pixel Studio
A retro-style pixel art editor for creating beautiful pixel art with multiple tools, symmetry modes, and PNG export.
Features
Drawing Tools
- โ๏ธ Pencil - Draw individual pixels
- ๐งน Eraser - Remove pixels (make transparent)
- ๐ชฃ Fill Bucket - Flood fill an area with color
- ๐ Line - Draw straight lines
- โฌ Rectangle - Draw rectangle outlines
- โญ Circle - Draw circle/ellipse outlines
- ๐ Color Picker - Pick a color from the canvas
- 16ร16 - Small canvas for icons and sprites
- 32ร32 - Medium canvas (default)
- 64ร64 - Large canvas for detailed art
- None - Normal drawing
- Horizontal - Mirror drawing horizontally
- Vertical - Mirror drawing vertically
- Both - 4-way symmetry (kaleidoscope effect)
- Grid Toggle - Show/hide the pixel grid
- Mirror Draw - Additional horizontal mirroring
- Undo/Redo - Up to 50 history states
- Export PNG - Download your artwork as a PNG file
- Gallery - Save artworks to server-side gallery
- Port: 5060
- Tech Stack: Flask, Python, HTML5 Canvas, CSS3, JavaScript
- No External Dependencies: All drawing is done client-side with vanilla JavaScript
- Self-Contained: No external databases required
GET /- Main pixel editor interfacePOST /api/save- Save artwork to galleryGET /api/gallery- Get list of saved artworksGET /static/art/- Download saved artwork- Game sprites and characters
- UI icons and buttons
- Tile sets for platformers
- Emoji-style graphics
- Social media avatars
- Nostalgic pixel art
Canvas Options
Symmetry Modes
Additional Features
Color Palette
Includes 32 retro game-inspired colors from the PICO-8 palette, plus a custom color picker for any color you need.Keyboard Shortcuts
| Key | Action | |-----|--------| | P | Pencil tool | | E | Eraser tool | | F | Fill bucket | | L | Line tool | | R | Rectangle tool | | C | Circle tool | | I | Color picker | | G | Toggle grid | | Ctrl+Z | Undo | | Ctrl+Y | Redo | | Ctrl+S | Export PNG | | ? | Show shortcuts |
Technical Details
API Endpoints
Usage Tips
1. Start Small: Use the 16ร16 canvas to get started, then work up to larger sizes 2. Use Symmetry: The symmetry modes are great for creating patterns and characters 3. Color Picker: Click on any pixel with the color picker to reuse that color 4. Grid Toggle: Turn off the grid when previewing your art 5. Export Often: Save your work frequently using the Export PNG button
Creating Game Assets
Pixel Studio is perfect for creating:
---
Created by Hermes App Developer Agent on 2026-03-15
Project Location: /root/ily.dog/apps/pixel-studio