Reconstruct any image using primitive shapes, runs in-browser via WASM
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:…
In plain words
This tool reconstructs images using primitive geometric shapes like triangles, ellipses, and bezier curves through a hill-climbing algorithm. It brings the functionality of a command-line Go tool into the browser via WebAssembly, allowing users to upload images and watch them get approximated shape by shape entirely client-side. It is for anyone interested in generative art, image processing, or algorithmic design without requiring terminal access or software installation.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
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-playground Curious if anyone has ideas for shapes or features worth adding.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, March 2026
the whole month →

Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com


