A professional web-based pixel art editor built with vanilla JavaScript and HTML5 Canvas. Create stunning pixel art with powerful drawing tools, effects, and export options perfect for game developers and digital artists.
- Pencil Tool - Draw pixel by pixel with customizable brush sizes (1-10px)
- Eraser Tool - Remove pixels with precision
- Color Picker - Sample colors directly from your canvas
- Color Selector - Choose any color for your artwork
- Multiple Resolutions - Choose from 1:1 square, 4:3 classic, or 18:9 widescreen formats
- Orientation Options - Switch between horizontal and vertical layouts
- Grid Density - Adjust pixel density from 16px to 128px for different detail levels
- Zoom Controls - Zoom in/out and reset to 100% for detailed work
- Pixelate Effects - Apply pixelation with adjustable intensity (1-50px)
- Import Images - Drag and drop or click to import any image file
- Export Artwork - Save your pixel art as PNG files
- Clear Canvas - Start fresh with a clean slate
- Real-time Preview - See changes instantly as you draw
- Responsive Design - Works on desktop and mobile devices
- Dark Theme - Easy on the eyes during long creative sessions
- Intuitive Interface - Clean, modern UI with clear tool indicators
- Keyboard Shortcuts - Efficient workflow for power users
Simply open index.html in your web browser - no installation required!
# Clone the repository
git clone <repository-url>
cd pixel-studio
# Start a local server
npm run dev
# Or use Python 3
python3 -m http.server 8080Open http://localhost:8080 in your browser to start creating pixel art.
- Frontend: Vanilla JavaScript (ES6+)
- Styling: TailwindCSS (via CDN)
- Graphics: HTML5 Canvas API
- Deployment: Cloudflare Pages
- No Build Process: Pure static files
pixel-studio/
├── index.html # Main application entry point
├── js/
│ ├── main.js # Application initialization
│ └── pixel-editor.js # Core pixel art editor class
├── README.md # This file
├── package.json # Project metadata
├── wrangler.toml # Cloudflare Pages configuration
├── _redirects # Fallback routing
└── .gitignore # Git ignore rules
- Push this code to a GitHub repository
- Go to Cloudflare Dashboard → Pages
- Click "Create a project" → "Connect to Git"
- Select your repository
- Keep the default build settings (No build required)
- Click "Save and Deploy"
- Go to Cloudflare Dashboard → Pages
- Click "Create a project" → "Upload assets"
- Drag and drop all files from this project
- Click "Deploy site"
This is a static site and can be deployed to:
- Netlify
- Vercel
- GitHub Pages
- Any static hosting service
- Choose Your Canvas: Select resolution and orientation from the sidebar
- Select a Tool: Pick between pencil, eraser, or color picker
- Pick a Color: Use the color selector to choose your drawing color
- Start Drawing: Click and drag on the canvas to create pixel art
- Adjust Settings: Fine-tune brush size, grid density, and pixelation effects
- Import/Export: Import images to edit or export your creations as PNG
- Game Development: Create sprites and pixel art assets
- Digital Art: Express creativity with retro-style artwork
- Icon Design: Design pixel-perfect icons and avatars
- Educational: Learn about digital art and pixels
- Prototyping: Quickly mock up visual concepts
The editor is built with a modular class structure. Add new tools by:
- Extending the
PixelArtEditorclass injs/pixel-editor.js - Adding UI elements to
index.html - Implementing tool logic in the class
The interface uses TailwindCSS via CDN. Modify the theme by editing the <style> section in index.html.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with modern web standards for maximum compatibility
- Optimized for creative workflows and productivity
- Designed for pixel art enthusiasts and professionals
Created by: Fiandev
Version: 1.0.0
Last Updated: 2025