All examples

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.

View source
pixel-editor