It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...
Walkway.js
31–40 of 53 posts
Re: Walkway.js
#32Re: Walkway.js
#33Re: Walkway.js
#34Firefox 33.0.2 on OSX 10.9 here. It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...
Re: Walkway.js
#35This is really great stuff; has a super friendly API to boot.
FWIW, we also released a generalized library for some of the things we were doing WRT frame-based and duration-based animation:
https://github.com/voxmedia/metronome
(Reason being that for some animations, we wanted it to finish in a precise amount of time, but for others, maintaining frame rate was paramount, even if total elapsed time was longer)
Re: Walkway.js
#36Firefox 33.0.2 on OSX 10.9 here. It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...
Re: Walkway.js
#37Firefox 33.0.2 on OSX 10.9 here. It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...
Edit: Checked the code. He uses requestAnimationFrame.
Re: Walkway.js
#38Firefox 33.0.2 on OSX 10.9 here. It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...
Re: Walkway.js
#39How would somebody do this w/ D3? Are there any similar bl.ocks that anybody knows about?
http://bl.ocks.org/mbostock/5649592
And here’s an older graphic that demonstrates the technique in use:
http://www.nytimes.com/interactive/2013/02/20/movies/among-t...
We also used this technique to render the progress map in The Russia Left Behind:
Re: Walkway.js
#40Firefox 33.0.2 on OSX 10.9 here. It renders well if the tab is in focus (fantastic work!) but there's a bug: if I open it in a tab in the background, and visit it later (after the animation would have completed?) I see only a nearly-blank page. Confused me for a bit, as I open mass-tabs here on HN...
I guess OP doesn't use requestAnimationFrame, otherwise, it would wait for the tab being focused. Edit: Checked the code. He uses requestAnimationFrame.