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

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -