Hi
I cannot find any animation tutorials on the Pyprocessing website. If I wanted to animate this pyramid from the 3d shape tutorial on that website, how can I go about doing that?
def drawShape():
translate(width/2, height/2, 0)
stroke(255)
rotateX(PI/2)
rotateZ(-PI/6)
noFill()
beginShape()
vertex(-100, -100, -100)
vertex( 100, -100, -100)
vertex( 0, 0, 100)
vertex( 100, -100, -100)
vertex( 100, 100, -100)
vertex( 0, 0, 100)
vertex( 100, 100, -100)
vertex(-100, 100, -100)
vertex( 0, 0, 100)
vertex(-100, 100, -100)
vertex(-100, -100, -100)
vertex( 0, 0, 100)
endShape()