ART CODE 5


int x = 0;
int y = 0;

void setup(){
  size(1280, 720);
  background (0);
}

void draw(){
 
  rectMode(CENTER);
translate(width/2,height/2);
rotate(radians(frameCount));
  
  rect(x,y, 10,700);
  delay(40);
 
 
  
 for(int i = 0; i < 20; i++) {
   println(i);
   fill(random(255));
 rect(radians(width),random(height),i*1, i*15);
 }
}

Comments

Popular posts from this blog

video loops, art code 9

video loops, art code 6

art code 12