xxxxxxxxxx
function setup() {
createCanvas(900,900);
colorMode(HSB,360,100,100,100);
background(79);
}
function draw() {
stroke(0,10,0,30);
translate(mouseX,mouseY);
fill(0);
rotate(radians(frameCount % 360 *15));
for(var i = 0; i < 8; i++){
push();
rotate(PI * i/8);
fill(random(25,200),25,90,random(5,25));
triangle(frameCount % (width/100),0,20,40,30,100);
pop();
}
}
function mouseClicked(){
background(79);
}