I made a circle thing where you can make circles. It’s inspired by the really awesome watercolor paintings of Jeffrey Simmons (which are a lot more awesome than anything you’ll be able to do with this program, so you should go feast your eyes a little).

Le code:

float recordX;

float recordY;

int counter = 0;

void setup(){

  size(1800,1800);

  background(#FFFFFF);

}

void draw(){

 }

void mousePressed(){

recordX = mouseX;

recordY = mouseY;

counter = 0; 

}

void mouseReleased(){

  float startRadius = dist(recordX, recordY, mouseX, mouseY);

  int R = (int)random(255);

  int G = (int)random(255);

  int B = (int)random(255);

  noStroke();

  ellipseMode(RADIUS);

  for (int i = 0; i < startRadius/20; i++){

    fill(R, G, B, i + counter);

    ellipse(mouseX, mouseY, startRadius-((startRadius/20)*i), startRadius-((startRadius/20)*i));

    counter = i + i;

  }

}

  1. queenfor-today reblogged this from clintonmckay
  2. bgillllllll reblogged this from clintonmckay
  3. divaqueenkim reblogged this from clintonmckay
  4. evildoombabies reblogged this from clintonmckay
  5. themusicover reblogged this from clintonmckay
  6. inslavedlegacy reblogged this from clintonmckay
  7. tarradactyl reblogged this from clintonmckay
  8. clintonmckay posted this