Hello all,
So i want to place objects along a (half) circular line with the formula (x-a)^2 + (y-b)^2 = r^2
object pixel size are 36px.
so if i have 10 objects then r would become (10.36):2 = 180.
finding Y for X =0 (0 degrees)becomes sqrt(r^2 - 0^2) Y becomes 180
finding Y for X =5 (90 degrees) becomes sqrt(r^2 - (5*36)^2) Y becomes 0
this makes perfect sense...
but if i do this in a for loop then the sequence for x will be (0,36,72,108,144,180) this means that the 6th object gets the 90 degrees Y value....and not the 5th.
(for i= 0 etc)
x = i*36...
I know its probably very 'dumb'question but i just don't see it anymore
Thx in advance...