Skip to content

anim-format (runtime format) / FrameMap

Interface: FrameMap ​

THE frame map: a timeline's scenes, sections and labels as plain data, global frames (all scenes in a row). The editor builds it (document section.ts frameMapOf), the runtime builds it from an exported symbol (anim-format frameMapOfSymbol); anim-format's frame resolver (resolveFrameRef, spanAt, sectionRange) and THE state machine (states.ts stateBeat) read it. Type only.

Properties ​

PropertyTypeDescription
labelsobject[]every label, global frames, in frame order (a name may repeat in other sections)
scenesobject[]frames are global (all scenes in a row); transitions = the scene's STATE MACHINE (gap plan #1, owner 2026-11-24: every section is a state)
totalFramesnumber-

HereSplash — 2D animation for the web