Springs state.value toward target, mutating state in place. Returns it.
state.value
target
state
spring state, mutated in place
goal value
approximate time to reach the target; smaller is faster
1 = critically damped (no overshoot), <1 bouncy, >1 sluggish
frame delta, for refresh-rate independence
Springs
state.valuetowardtarget, mutatingstatein place. Returns it.