====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
script_rotating_app_wheel [2014/03/13 02:59] tbog [About the script] |
script_rotating_app_wheel [2014/03/13 03:00] (current) tbog [Script code] |
||
|---|---|---|---|
| Line 22: | Line 22: | ||
| var a = []; | var a = []; | ||
| var na = 0; | var na = 0; | ||
| + | /*how much to rotate, to increase speed multiply with something greater than 1*/ | ||
| var offsetRot = c.getPositionX() / c.getWidth() * Math.PI * -2; | var offsetRot = c.getPositionX() / c.getWidth() * Math.PI * -2; | ||
| var items = c.getItems(); | var items = c.getItems(); | ||