Posts

Showing posts from March 2, 2022

Show HN: 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 me), it lies at the end of the wiki page of the very topic [2]. Then I found a paper [3] that has nice pseudocode and a C implementation. I rewrote the pseudocode in Rust because I wanted to experiment with rustwasm. Honestly, I didn't care much about the math behind it. From then, I could continue to finish the app and show it to the world. This app is also my chance to learn about rustwa

Building data-centric apps with a reactive relational database

Article URL: https://riffle.systems/essays/prelude/ Comments URL: https://news.ycombinator.com/item?id=30530120 Points: 10 # Comments: 1 from Hacker News: Front Page https://ift.tt/RYiIDXB via

Ask HN: Do you think nuclear armageddon is plausible?

Comments from Hacker News https://ift.tt/YQHTLrR via

Epic Games acquires Bandcamp

Article URL: https://variety.com/2022/digital/news/epic-games-acquires-bandcamp-1235194180/ Comments URL: https://news.ycombinator.com/item?id=30529780 Points: 218 # Comments: 117 from Hacker News: Front Page https://ift.tt/ZyvO3i6 via

How Does Perspective Work in Pictures?

Comments from Hacker News https://ift.tt/gjlUNEW via