Reconstruct any image using primitive shapes, runs in-browser via WASM
Details
- External ID
- 47232339
- Source
- HN
- Company
- —
- Product
- Reconstruct any image using primitive shapes, runs in-browser via WASM
- Website domain
- github.com
- Launched
- March 3, 2026
- Cohort
- —
- Upvotes
- 43
- Upvotes percentile
- 0.8234932349323493
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
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.
Enrichment
- Theme
- creative coding and visual experiments
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- reconstruct images using primitive shapes in the browser
- Manually corrected
- False
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 — 71 launches clear the similarity bar, closest 8 shown.
Attention rank: #17 of 72 (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
- MeshEdit · ph · 2026-09-18 · 61 upvotes · similarity 0.40
- Change Image Shape · ph · 2026-09-28 · 2 upvotes · similarity 0.39
- meshybench · github · 2026-09-20 · 11 upvotes · similarity 0.39
- VoxEdit Web · ph · 2026-09-18 · 4 upvotes · similarity 0.39
- Lazy-image · hn · 2025-12-30 · 7 upvotes · similarity 0.39
- Ripl · hn · 2026-03-19 · 17 upvotes · similarity 0.38
- BinToImage · github · 2026-09-27 · 9 upvotes · similarity 0.37
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.