Raxol.Animation.DSL.Compiler (Raxol v2.6.0)

View Source

Sequence and animation compilation for the Animation DSL.

Converts DSL Sequence and Animation structs into Framework-compatible configuration maps.

Summary

Functions

Calculates the total duration of a sequence in milliseconds.

Compiles an Animation struct into a Framework config map.

Compiles a Sequence into a list of {animation_name, animation_config} pairs.

Functions

calculate_sequence_duration(sequence)

Calculates the total duration of a sequence in milliseconds.

compile_animation(nested_sequence)

Compiles an Animation struct into a Framework config map.

compile_sequence(sequence)

Compiles a Sequence into a list of {animation_name, animation_config} pairs.