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.
More from coding & agent
- GitHub launches HydraFusion, a Copilot preview routing one task across multiple models at 36-67% lower cost — shashib · 2026-09-18
- Two AI models play Minecraft in real time, splitting combat and planning — imjustnewatai · 2026-09-18
- Nebula Alpha opens to everyone, making agents first-class in team comms — Scobleizer · 2026-09-18
- Can Humans Override Voice AI Agents Mid-Call Without Taking Over? — Head_Ad_5719 · 2026-09-18
- Google Open-Sources Agent Substrate on GKE: 10x Density, 1,000+ Dormant Agents per Host — blaizedsouza · 2026-09-18
- Salesforce releases xLAM-2: large action models extended to multi-turn agentic interactions, fully open-sourced — huan__wang · 2026-09-18