int units = (int) ((System.currentTimeMillis() - startTime)
/ invSpeed);
- angle += units;
+ double factor = 0.5
+ + 1.5 * (0.5
+ - (0.5 * Math.sin(Math.toRadians(angle + 45))));
+ angle += units * factor;
angle %= 360;
startTime = System.currentTimeMillis();