logoalt Hacker News

StilesCrisisyesterday at 9:05 PM1 replyview on HN

Why use this instead of SVG?


Replies

itishappyyesterday at 9:24 PM

It's interactive, for starters. You can do that with SVG, of course, but the boilerplate required would be larger than the `.canvas` file. You can externalize the boilerplate, but then you're no longer creating portable SVG files, and if we're going to create an SVG-like DSL we may as well try out this JSON-like DSL.

show 2 replies