Skip to content

Wiggle API / Spring

Interface: Spring

Spring parameters, matching the closed-form damped-harmonic model. Lower mass and higher stiffness give a faster, punchier entrance; lower damping gives more overshoot. A high damping (e.g. 200) settles smoothly with no overshoot.

Properties

damping?

optional damping?: number


mass?

optional mass?: number


stiffness?

optional stiffness?: number