← Back to the lab

Motion & Easing Playground

Edit cubic-bezier curves and physical springs side by side, preview them racing, and export CSS linear() springs, Framer Motion or SwiftUI motion tokens.

What it does

  • Draggable cubic-bezier editor with presets (Material, back, anticipate…)
  • Spring simulator with stiffness, damping and mass, settle time and overshoot
  • Springs exported as CSS linear() easing — no JavaScript required
  • Export to CSS, design tokens, Framer Motion and SwiftUI

FAQ

Can CSS do spring animations?

Yes. The linear() easing function can approximate any curve, including a spring, by listing sampled points. The playground generates it from a real physics simulation.

How do I convert a spring to SwiftUI?

The export maps stiffness, damping and mass to SwiftUI’s .spring(response:dampingFraction:).

More free tools