All examplesView source
Example 02
Pixel editor
Reactrenderer-canvas
Every pointer event snaps to the grid, strokes paint into layers, and only the tiles that changed get redrawn. The coordinate conversions that make editors fiddly to build are handled by the engine.
pixel-editor