Snap fake pixels back to the grid
AI “pixel art” often only looks the part: the cells are not a whole number of pixels wide, the edges are soft, and one colour smears into thousands. This is one of our 16×16 sprites, ruined on purpose. Press the button to repair it.
- Measure: find the strongest beat in the edges
- Sample: take the median of each cell’s centre
- Quantise: merge colours that are nearly the same
This is our own simplified version, written to show the idea. For real images, use one of these: