4 ms·
Show HN: FiniteCurve – Draw a photo with one continuous, non-intersecting line
- koala_man 6y agoThis multi-weekend side project draws an arbitrary photo using a single space-filling line, creating shades of gray by varying the line density. It's written in C++ compiled to WASM, with a React.js interface.
- dinkleberg 6y agoThis is really cool. Did you have previous experience working with graphics or did you have to learn it as you built this?
- koala_man 6y agoThanks! The geometry and SVG/spline aspects were new to me, as was React.js. The bulk of the logic was more familiar graph algorithms.