wout/svg.js — pull request #26 by john-memloom (2013-04-16 03:46:41+00:00)
Title: Allow animations to be driven by external events

Simple refactoring of fx.js to pull out the heavy lifting in the timer function to an animateTo(pos) function. Also updated animate() function to not start timers if provided duration is less than zero.

Add a demos directory with one html file that demonstrates how to take advantage of the refactored code.