from visual import * # make a blue box bb = box(color=color.blue, height = 2) angle = 0 scene.autoscale = 0 # rotate the box by changing the direction it points in # by an angle theta while 1: rate(40) bb.axis = (0,sin(angle),cos(angle)) angle = angle + 0.02