4 ms·
The animation makes the browser tab so jaggy I can barely scroll down to read more.
by forgotmypassw 11y ago
The animation makes the browser tab so jaggy I can barely scroll down to read more.
- rwinn 11y agoThat sucks. I'm using d3.js to animate svg elements, runs smoothly on my machine, what browser/os are you on?
- forgotmypassw 11y agoFF 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.
- rwinn 11y agoYep, 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.
- fulafel 11y agoOn Ubuntu it's fast in Chrome and slow in Firefox.
- rwinn 11y agoFound 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.