I need to know the coordinates of each pixel in a circle (radius) of a point, preferably through a loop (so I can create objects at those points)
I'm managing to do it now like so:
As you can see, that is not very optimized (despite me precalculating Sin and Cos (helps a lot but not enough))
If anyone can help me I'd greatly appreciate it.
I'm managing to do it now like so:
For d=-(PenSize/2) To PenSize/2 For b=0 To 360 Step 2 rX=MouseX()+(GetCos(b)*d) rY=MouseY()+(GetSin(b)*d) ' create my object now at rX, rY Next Next
As you can see, that is not very optimized (despite me precalculating Sin and Cos (helps a lot but not enough))
If anyone can help me I'd greatly appreciate it.