Epileptic spiral

int y;
int size; 
int hundred;
float end;
void setup() {

  size(640, 400);
  background(255);

};
void draw() {

  noFill();
  stroke(0);
  
  //ellipse(width/2-25,height/2,50,50);
hundred = 100; 
  for (int i=0; i<width; i+=100) {
    strokeWeight(20);
    
    arc(320, 200, hundred+i, hundred+i, radians(180), radians(360) );
    arc(320-25, 200, hundred*1.5+i, hundred*1.5+i, radians(0), radians(180) );
     //interesting effect here
     filter(INVERT);
     
    ;
  };
  
  
};
void keyPressed() {
  fill(#FFE200);
  textSize(random(20,200));
  text(key,random(300),random(100,400));
  print(key);
};


Leave a Reply