motion
module · ferroui-themes-material · v0.5.0
module motion
Material 3 Expressive motion, connected to FerroUI's transition and compositor APIs.
The spring constants follow AndroidX Material3 1.5.0-beta02, commit
e4d933c98df7baa7ea2b83eea6e086915961e0ff, ExpressiveMotionTokens.kt and
StandardMotionTokens.kt (Copyright The Android Open Source Project, Apache-2.0).
The analytical evaluator and the FerroUI adapters are native Rust implementations.
Spatial motion may overshoot. Effects motion is critically damped: use it for colors,
opacity and the button's pressed shape. In particular, the upstream button intentionally
uses DefaultEffects, while the switch thumb uses FastSpatial.
Contents
MaterialMotionScheme— enumMaterialMotionRole— enumMaterialSpringSample— structMaterialSpringSpec— structMaterialSpringState— structMaterialSpringEasing— struct
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.