pub fn spring(t: f32, mass: f32, stiffness: f32, damping: f32) -> f32
Evaluate a damped spring. Parameters are mass, stiffness, and damping.