Hi Guys,
I have this nice little piece of code from the forums:
def makeArc(angleDegrees = 360, numSteps = 10000):
ls = LineSegs()
angleRadians = deg2Rad(angleDegrees)
for i in range(numSteps + 1):
a = angleRadians * i / numSteps
y = math.sin(a)
x = math.cos(a)
ls.drawTo(x, 0, y)
node = ls.create()
return NodePath(node)
How would I increase the size of the circle?
Thanks.