The math looks good. The only problem I see now is that the animation will be much faster now. Going from 3000ms (3 sec) to 100 ms is a big jump.MrBenn wrote:n = number of sweeps
a = angle
d = delay between sweeps
n = 8
a = 20
d = 10ms
angle traversed = n*a = 8*20 = 160
angle missing (m) = 360 - (n*a) = 200
missing sweeps = m/a = 200/20 = 10
additional time (t) = (m/a)*d = 10*10 = 100ms
Using my revised calculations, you need to change the initial delay from 3 secs to 100ms
Again, my maths is probably way out - please feel free to correct it!
I would recommend maybe making more intervals (10 degs @ 15 ms) and that would allow the offscreen sweep to take longer and not be so "flashy"
WM