Pixel art maker
Colour in squares and make something small and sharp · Art ●●○
Change these if you like
Prompt
Make a pixel art editor with a 16 by 16 grid and sixteen bright colours. Make it a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Do not use image files or any external address; use emoji or letters if you need a symbol. Click or drag across squares to fill them. Right-click erases. Show the palette below the grid with the current colour marked. Add a fill tool that floods a connected area of the same colour, and an undo that steps back one action. Put a download button that saves the picture at eight times the size, so the squares stay crisp rather than going blurry. Show the grid lines faintly, and add a toggle to hide them for a clean look at the work. When you are done, use the fill tool on an area touching the edge and check it does not leak outside the shape.
What it uses: One file only · Say what it is first · Decide what shows · Give an example
If fill leaks or hangs, ask it to "flood only the connected squares of the colour I clicked".
Paste what came back
You might also like