How Koreography works: Moves and Choreography
mainKoreography is a Kotlin DSL for orchestrating low-level Jetpack Compose Animatable objects.
- Move: The fundamental unit of animation. It targets a specific
Animatablewith atargetValueand ananimationSpec. - Choreography: A composition of moves. You can define how these moves relate to each other using
sequentialMoves(one after another) orparallelMoves(all at once). - Nesting: You can nest
parallelMovesandsequentialMovesto create complex, hierarchical animation sequences.