Skip to main content

Module clock

Module clock 

Source
Expand description

Which moment of the character’s life a frame shows.

  • Clock::Live: the seeded state machine plays freely (PLAN.md section 4.4); live mode never repeats exactly.
  • Clock::Loop(loop_ms): a seamless loop for GIF export. The character follows the activity’s gif.loop_script, its first looping state repeated to fill the loop, then time-scaled so the script ends exactly at loop_ms; pacing is snapped to a period that divides the loop. Frame t = loop_ms equals frame t = 0.

Structs§

LoopScript
The character’s timeline for one seamless loop.

Enums§

Clock

Functions§

loop_track
The character track with pacing snapped to a period that divides the loop.