Physics & Math
Canonical Definition
The practice of driving user interface motion using physical simulations of velocity, momentum, friction, and mass rather than static time-based curves.
Detailed Explanation & Context
Physics UI Animation replaces traditional timeline-based animation with dynamic physics equations. When a user interacts with software via touch or mouse, they impart velocity. A physics-driven interface preserves this velocity, smoothly decelerating elements into their final resting state through realistic spring dynamics rather than hard-coded ease-in-out timers.
Mathematical Model / Governing Formula
Differential Equation: m·x'' + c·x' + k·x = 0Key Takeaways
- 100% interruptible: users can touch, drag, or redirect an animation mid-movement.
- Natural to human perception: matches the physical behavior of real-world objects.
- Used as the core interaction paradigm across Apple iOS and Android Material You.
Implementation Syntax (JSX)
// Damped harmonic oscillator in ExodeUI
const spring = useSpring({ stiffness: 380, damping: 24, mass: 1.0 });Pillar Guides & Tools
Apply in Your Application
ExodeUI makes modern motion engineering effortless. Design visually and compile clean, accessible components directly to production.