def setup():
size(600,600)
rectMode(CENTER)
colorMode(HSB)
t=0
def draw():
global t
background(255)
translate(width/2,height/2)
rotate(radians(t))
for i in range(90):
pushMatrix()
translate(200,0)
rotate(radians(t+2*i*360/90))
noFill()
stroke(i,255,255)
triangle(0,-100,100*sqrt(3)/2,100/2,-100*sqrt(3)/2,100/2)
popMatrix()
rotate(radians(360/90))
t+=0.5
4 Likes
just wonderful, I like it very much!