Hacker News new | ask | show | jobs
by tyingq 1934 days ago
An unfinished, but "sorta working" attempt to recreate that vector drawing data onto an html canvas.

https://jsfiddle.net/kw4b95gv/4/

I didn't do the color flood fill, and something isn't quite right, but it's recognizable.

1 comments

I tried to debug it by assigning a different color to each path:

https://jsfiddle.net/s2L3ydrx/15/

but it just gets the color of the final path, and I don't know why.

I fixed the errant lines bug and updated the link.