html - Rotating a PNG exponentially using Javascript -
html - Rotating a PNG exponentially using Javascript -
i'm creating spinning wheel game , want have wheel start slow, peak @ speed of rotation, , slow downwards again.
any ideas exponential rotation speed? thanks!
linear acceleration cause quadratically increasing displacement, commonly found in nature. should consider candidate.
regardless, set programme can plug in different functions see how look. see jquery easings thought like.
for starters, seek function angular displacement:
a = ct^2, t < 3 = c(9 - t^2), 3 <= t < 6 = 0, otherwise
where c
constant.
javascript html rotation exponential
Comments
Post a Comment