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

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

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -