rotateY()
Rotates in 3D around the y-axis
Last updated
rotateY(angle)def setup():
createCanvas(300,300, WEBGL)
def draw():
background(255, 79, 132)
fill(112, 88, 255)
stroke(176, 235, 51)
strokeWeight(2)
orbitControl()
# draw3DAxes(100, (100, 50, 20))
rotateY(frameCount)
torus(100, 25)
rotateY(-2*frameCount)
cone(50, 50)