AI builds a full browser embroidery editor with Canvas 2D, no WebGL

RichardsonDx · x · 2026-09-18

A developer shared a full embroidery editor built entirely by AI in the browser — no Three.js, no WebGL, no shaders, just Canvas 2D and math.

You draw with a needle cursor and paths convert into real embroidery stitches (running, back, chain, cross, satin, French knots, lazy daisy). The fabric is generated pixel by pixel: two overlapping sine waves create a height field for warp/weft threads, a fake normal is computed and lit from one direction — a bump map with zero GPU rendering.

Original post →

More from coding & agent

coding & agent channel →