On 23 nov, 16:05, Chris Viau <christophev...@gmail.com> wrote:
> I use to take a video capture with Camstudio <http://camstudio.org/> or
If your visualisation can generate SVG for each frame, you could render
each frame into a PNG using something like Batik and then compose them
into an animated GIF (or simply show each PNG at a particular frame rate
using JavaScript). I'm not sure that's *painless* though. :)
Assuming you're using D3's transitions, this may not be that
straightforward as you'd have to fix the frame rate somehow: override
Date.now() perhaps, and maybe override window.requestAnimationFrame to
serialise the SVG.
So yeah, some kind of video capture is probably simplest for now if you
don't need absolute control over the frame rate.
--
Jason Davies, http://www.jasondavies.com/
https://github.com/mbostock/d3/blob/master/examples/node-canvas/us-counties.js
Mike
And now that node.js now runs on windows it will likely be built out
even faster due to that much more interest.