nowfound

Life & fun · March 2, 2022

IM

I made a WebGL-based app that traces images using circles

I was fascinated by this [0] and this video [1]. After many struggles, I finally built this app that traces images using circles similar to what these videos had shown. The most challenging part (to me) is to find a way to convert images to vector lines. I had tried Potrace, but its output is not suitable for my use case: too many small elements share the same border. Potrace's goal is to represent the original image faithfully using vector lines. But I want to trace the image edges. After searching and trying some Potrace alternatives in vain, I finally found my keyword. Surprisingly (to…

I made a WebGL-based app that traces images using circles launched on March 2, 2022 with 93 votes, #404 of 3,153 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 4 years on.

Visit phqb.github.io ↗Alternativestop 13% of March 2022

In plain words

This WebGL app reconstructs images using circles arranged to trace edges rather than replicate the original. The maker built it after exploring similar visualization techniques, ultimately developing a custom edge-detection approach in Rust and WebAssembly to overcome limitations in existing vectorization tools. The app is for anyone interested in experimental image rendering and geometric art.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

I was fascinated by this [0] and this video [1]. After many struggles, I finally built this app that traces images using circles similar to what these videos had shown. The most challenging part (to me) is to find a way to convert images to vector lines. I had tried Potrace, but its output is not suitable for my use…

Does a similar job

all alternatives →
  • Txt2plotter – True centerline vectors from Flux.2 for pen plottersJan 2026 · github.com · ▲35

    I’ve been working on a project to bridge the gap between AI generation and my AxiDraw, and I think I finally have a workflow that avoids the usual headaches. If you’ve tried plotting AI-generated images, you probably know the struggle: generic tracing tools (like Potrace) trace the outline of a line, resulting in double-strokes that ruin the look and take twice as long to plot. What I tried previously: - Potrace / Inkscape Trace: Great for filled shapes, but results in "hollow" lines for line art. - Canny Edge Detection: Often too messy; it picks up noise and creates jittery paths. -…

  • a Rust ray tracer that runs on any GPU – even in the browserNov 2025 · github.com · ▲95

    I’ve been experimenting with Rust lately and wanted a project that would help me explore some of its lower-level and performance-oriented features. Inspired by Sebastian Lague’s videos, I decided to implement my own ray tracer from scratch. The initial goal was just to render a simple 3D scene in the browser at a reasonable frame rate. It evolved into a small renderer that can: • Run locally or on the web using wgpu and WebAssembly • Perform mesh rendering with a Bounding Volume Hierarchy (BVH) for acceleration • Simulate both direct and indirect illumination for photorealistic results • Be…

  • ST
    SVG Triangulation for WebGL2015 · mattdesl.github.io · ▲94
  • I've made a Monte-Carlo raytracer for glTF scenes in WebGPU2024 · github.com · ▲131

    This is a GPU "software" raytracer (i.e. using manual ray-scene intersections and not RTX) written using the WebGPU API that renders glTF scenes. It supports many materials, textures, material & normal mapping, and heavily relies on multiple importance sampling to speed up convergence.

  • MF
  • Svgasm – SVG animation from single GIF using tracer2021 · github.com · ▲49

    SVG animation from multiple SVGs or single GIF using tracer - tomkwok/svgasm

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, March 2022

the whole month →
  • IM

    Hi HN! I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong. This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code. Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!

    Dev tools · 2022 · lessmilk.com

  • IM

    Life & fun · 2022 · networksfromscratch.com

  • HA

    Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r>>17,r^=r>2

    Dev tools · 2022

  • Tome Beta▲697

    The storytelling tool for work

    Work · 2022 · tome.app

  • Kairn▲694

    Regain control over your days

    Dev tools · 2022

  • How well do you know your area? Test your knowledge by locating streets on a map.

    Work · 2022 · backofyourhand.com