Apps & websites Try it yourself

A browser embroidery editor drawn in Canvas 2D, no WebGL

The Bugged Dev, a software developer, had Claude Fable 5.1 build it in under an hour as one HTML file. A needle cursor turns your path into running, chain, cross and satin stitches, and the fabric and six-pass thread shading are computed pixel by pixel.

View on X
846likes
65reposts
700saves
67Kviews
Role
Software developer and design engineer
Posted
The Bugged Dev@thebuggeddev

I genuinely never thought this would be possible 😱

AI just built a full embroidery editor that runs entirely in the browser. Freaking crazy.

And no, it’s not GPT 6 Astra. It’s Claude Fable 5.1.

Also, No Three.js. No WebGL. No shaders. Just Canvas 2D and math.

You literally draw using a needle cursor and the app converts your path into actual embroidery stitches like running, back, chain, cross, satin, French knots and lazy daisy.

Even the fabric is generated pixel by pixel.

Two overlapping sine waves create a height field for the horizontal and vertical threads. Then a fake normal is calculated and lit from one direction. Basically a bump map with zero GPU rendering.

The embroidery thread itself is rendered in 6 passes. Shadow, core color, twisted ply lines, dark edge and two highlight layers based on the light angle.

That’s why it actually looks like embroidery floss instead of a simple marker stroke.

And trust me, I've zero sense or knowledge of any of this. ZERO.

All built. All working. All by AI. And somehow it’s all inside one HTML file. Nothing bigg.

Absolutely insane what’s possible now. You can really genuinely take a random idea and bring it to life. And that too in < 1 hour.

And who knows, this could actually be pretty useful for fashion designers and embroidery artists maybe?

Live:

View on X
Still from the video

More in Apps & websites