devuiGuideDemosAPIGitHub

Timeline

Key control values over time, then play them back:

const timeline = gui.timeline({ duration: 8, loop: true });
timeline.play();             // its own clock…
timeline.update(dt);         // …or your frame loop's
timeline.sample(t);          // …or your own time
timeline.key('Anim/speed', 2, 0.5);   // keys from code too (canonical values)
timeline.unkey('Anim/speed', 2);
timeline.pause();  timeline.seek(4);  timeline.record(true);
timeline.valueAt('Anim/speed', 1.5);  // what a track gives at a time
gui.timeline({ name: 'intro', duration: 3, autoplay: true });   // more than one, by name