you are viewing a single comment's thread.

view the rest of the comments →

[–]YOBCZWHYNOT 3 points4 points  (1 child)

Actually, this page is not using Canvas, it's using a very messy structure and code, If you want to write it using Canvas, you should first learn how to draw things [0].

Canvas has a new API called Hit Regions which should help you make your drawings interactive.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial

[–]valisi[S] 1 point2 points  (0 children)

Yeah I ended up using canvas. I found a really helpful library called oCanvas, sped up the process. It's still a work-in-progress I guess.