Re: [csswg-drafts] [css-transitions] spring() timing function

I think there's no need for both a stiffness and a mass, particularly 
if we aren't trying to get all physical with real units 'n stuff.

The spring equation (Hooke's Law) is F = kx - but F is just ma, so we 
have
a = (k/m) x - i.e. the acceleration on the object is proportional to 
the distance away from the resting point.

You should just expose that relationship, rather than two values that 
lead to redundancy.

Damping uses stiffness and mass too - but it's probably better just to
 expose the zeta directly, particularly because this allows people to 
easily choose between overdamped, critically damped, and underdamped.

-- 
GitHub Notification of comment by shans
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/280#issuecomment-232537089 
using your GitHub account

Received on Thursday, 14 July 2016 02:02:39 UTC