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:…
Reconstruct any image using primitive shapes, runs in-browser via WASM launched on March 3, 2026 with 43 votes, #738 of 23,380 launches that month and more than 95% of that year's launches.
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
Primitive-Playground is a web app that transforms images into abstract art. It helps bring depth to the beautiful images you capture. You can experiment with various conversion patterns to suit your preferences.
A web app that reconstructs any image using primitive shapes; port of fogleman/primitive - taiseiue/primitive-playground
This is a web application that converts any image into one expressed solely through geometric shapes. It runs on WebAssembly, with all processing performed entirely on the device. The algorithm attempts to reproduce the input image using only predefined shapes, minimizing the error between the input image and the image being drawn. This process is iterative, adding one shape at a time. The progress of shapes being added can be observed. This is a WASM port and Web UI for the idea by fogleman: fogleman/primitive . The original primitive is a Go-based CLI tool and not easy to use, so I made it available from a browser. Please consider starring fogleman/primitive . You can use it by accessing…from github.com
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…
Does a similar job
all alternatives →
Primitive Pictures2016 · github.com · ▲894Reproducing images with geometric primitives. Contribute to fogleman/primitive development by creating an account on GitHub.
- PFPrimitive for macOS2016 · primitive.lol · ▲798
Create generative background images from a string in Go2014 · github.com · ▲188:triangular_ruler: Create beautiful generative image patterns from a string in golang. - pravj/geopattern

I rendered the Go gopher using Go2015 · github.com · ▲287A path tracer written in Go. Contribute to fogleman/pt development by creating an account on GitHub.
I built a tool to generate triangulated art from images2021 · github.com · ▲296Generate high-quality triangulated and polygonal art from images. - rh12503/triangula
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2026
the whole month →


Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com
Littlebird▲709Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.
AI · Mar 2026 · littlebird.ai

