Hacker News new | ask | show | jobs
by forgotmypassw 3847 days ago
The animation makes the browser tab so jaggy I can barely scroll down to read more.
2 comments

Found the problem and pushed a fix, should me much smoother now.

It was Firefox's SVGPathElement::getPointAtLength implementation that was slow, working around it by caching all the calls to it.

That sucks. I'm using d3.js to animate svg elements, runs smoothly on my machine, what browser/os are you on?
FF Nightly on Windows, I also checked on my laptop running Linux and the same thing happens so I guess it's related to the browser specifically.
Yep, I can reproduce it on OS X with FF 42.0 as well. Going to see if i can find what's causing the low framerate.
On Ubuntu it's fast in Chrome and slow in Firefox.