Reconstruct any image using primitive shapes, runs in-browser via WASM
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I built a browser-based port of fogleman/primitive — a Go CLI tool that approximates images using primitive shapes (triangles, ellipses, beziers, etc.) via a hill-climbing algorithm. The original tool requires building from source and running from the terminal, which isn't exactly accessible. I compiled the core logic to WebAssembly so anyone can drop an image and watch it get reconstructed shape by shape, entirely client-side with no server involved.Demo: https://primitive-playground.taiseiue.jp/ Source: https://github.com/taiseiue/primitive-playgroundCurious if anyone has ideas for shapes or features worth adding.
HN · launched Mar 3, 2026 · 43 upvotes (top 18%) · 0 views
Niche: image processing and editing tools · 268 launches, 18 in the last 7 days ▼ -33% · Explore this niche →
Category and tags
- Horizontal
- Content generation
- Prosumer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 268 launches in image processing and editing tools →
Could you build this?
Yes The tool is a browser port of an existing open-source algorithm compiled to WebAssembly with a basic canvas UI to display the progressive image reconstruction.
Discussion
8 comments analyzed.
Competitors mentioned: Autotrace, Inkscape, Geometrize (Haxe web version)
Concerns raised: Unclear primary purpose - demo shows PNG to PNG conversion, File handoff/editing workflow with other tools, Market is niche and entrenched
Feature requests: SVG output format, Outline mode to visualize intermediate steps
Competitors
Other products that read as similar to this one : 204 launches clear the similarity bar, closest 8 shown.
Attention rank: #45 of 205 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 122 days after the earliest competitor.
- Idam3D · ph · 2026-09-06 · 2 upvotes · similarity 0.48
- mesh-to-tiles · github · 2026-11-04 · 14 upvotes · similarity 0.42
- 3D Valley · ph · 2026-10-18 · 1 upvotes · similarity 0.41
- MeshEdit · ph · 2026-09-18 · 61 upvotes · similarity 0.41
- meshybench · github · 2026-09-20 · 11 upvotes · similarity 0.41
- Lazy-image · hn · 2025-12-30 · 7 upvotes · similarity 0.40
- hexels · github · 2026-10-27 · 36 upvotes · similarity 0.40
- Modzi3D · ph · 2026-10-11 · 1 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.