Sequence API¶
Use this namespace to build custom paths or compile Step objects directly.
anihmm.sequence
¶
Semantic HMM sequence construction and frame compilation.
HMMSequence
¶
Stateful builder for semantic HMM animation steps.
__init__
¶
Create a sequence at a canonical node with optional bounds.
cycle
¶
Add a transient preview of the next state without committing it.
emit
¶
Emit one visible terminal-cell symbol from the current state.
finish
¶
Fill remaining bounded columns with deletions, then commit E.
flash_current
¶
Add a transient flash overlay to the current state.
settle
¶
Commit a transition to the next state of kind.
Step
dataclass
¶
Semantic description of one animation beat.
compile_step
¶
Compile one semantic step into a renderable frame description.
compile_steps
¶
Compile semantic steps with a shared explicit or inferred column count.