Skip to main content

Module frame

Module frame 

Source
Expand description

Frame compositing: the baked background plus animated elements at time t. Particles snap to the cell grid (exact palette, small GIF diffs); sprites use integer nearest-neighbour scaling.

Functions§

hero_time
The still-frame time used for stills, thumbnails and the static wallpaper: the first moment at or after the scene’s ember-based hero time (50 ms steps, up to 10 s) when the character shows the first frame of its activity’s start state, so a still never catches a blink or a mid-gesture. Independent of the Buddy toggle, so toggling it keeps the same moment.
render_frame
Composites one frame at t_ms over a baked background.