var deg2rad = Math.PI/180;
var rad2deg = 180/Math.PI;
var arrow = $('#arrow');
var old = 0;
var latest = 0;
function setLatest(newLate)
latest = newLate;
$('#current').text(latest);
rotation = rad2deg * Math.atan((old - latest) / 20);
arrow.rotate(rotation);
if (rotation
Bitcoin Coaster
...
...
Ride The #Bitcoin Rollercoaster!
No comments:
Post a Comment