Skip to main content

Module motion

Module motion 

Source
Expand description

Critically damped spring physics for calm, non-distracting UI motion

This module provides zero-heap spring physics for smooth UI transitions that respect user accessibility preferences (prefers-reduced-motion).

Structs§

Spring
A zero-heap, critically damped spring for calm, non-distracting UI motion
Timeline
Global tick driven by requestAnimationFrame or native window loop

Functions§

prefers_reduced_motion
Non-desktop fallback.
timeline_from_theme
Build a timeline tick honoring sanctuary theme + OS reduced-motion.