Hacker News new | ask | show | jobs
by fooker 188 days ago
Interactive and SVGs don't really mix, although intuitively it would seem that they do. Rendering remotely complex SVGs tale multiple seconds, while any kind of interactivity demands ~30+ frames per seconds.

Without interactivity, postscript is vector graphics too.

2 comments

How complex are you talking about? I've done animations with hundreds of elements and it's fine.
A typical scene graph for a visually interesting 2D game has more than 5000 elements and works on a 15 year old computer without issues.
I'd be curious to know what classes as complex for you, since ive done some frankly crazy stuff with svg's, which outperformed any raster implementation. Ultimately, poor performance was always my fault, especially initially when i was still treating it with paradigms better suited to the world of raster graphics.