Grid-based sprite editor with undo/redo and PNG export. Built with vibecoding in ~15 minutes.
Build a Pixel Art Editor in React with: - Selectable grid sizes: 16x16, 24x24, 32x32 - Tools: draw, erase, flood fill (bucket) - Click or drag to paint, with a single undo entry per continuous stroke - 12-color palette plus a custom color picker - Undo/redo stack capped at 50 entries each - Clear button and size-change both snapshot to history so they are undoable - Export as PNG with optional transparent background, upscaled 16x for a crisp sprite - No external drawing libraries — pure DOM grid + one-time canvas for export - Dark theme, purple accents, hover ring on active palette color