A small module for handling animation frames in smaller, stackable pieces.
timeline = require('talkie')()
Creates a new timeline.
section = timeline.between(start, end)
Creates a new section that is active between times
Note that times are agnostic, as long as you're consistent you could
use milliseconds, seconds, days, months, years, etc.
Called when a section becomes active.
Called when a section stops being active.
Called each step that the section is active -
t is the fraction of its
duration that has passed, i.e. how far it is between
and will always be between 0 and 1.
Sets the timeline to the point at
time - updating all of the associated
sections as a result.
var talkie =// t is a value between 0 and 1talkietalkie // 5!talkie // 25!talkie // 90.5!talkie //
MIT. See LICENSE.md for details.