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

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -