from visual import *
sec = arrow(color = color.cyan, pos = vector(0,0,0), axis = vector(0,3,0))
minu = arrow(color = color.red, pos = vector(0,0,0), axis = vector(0,2,0))
hr = arrow(color = color.magenta, pos = vector(0,0,0), axis = vector(1,0,0))
angle = 0
angle2 = 0
while True:
rate(1000)
angle = angle - 0.01
sec.axis.x = cos(angle)*3
sec.axis.y = sin(angle)*3
while (sec.axis == vector(0,3,0)):
angle2 = angle2 - 0.01
minu.axis.x = cos(angle)*2
minu.axis.y = sin(angle)*2
when I tape this code the second loop for some reason doesnt work could you please tell me how can I fix it?