Monday, April 02, 2012

Random_test_alpha

void setup() { 
  size(500,500);
  background(100,205,200);

  
void draw() {  
  fill(random(0,255),50,40,90);
  rect(mouseX,mouseY,random(50,100),random(10,100));} 
void mousePressed() {
background(random(0,255),random(0,255),random(0,255));}

info info

submitted by: Lukasrygh
views: 29
Just my first test with the random commmand. Click to wipe and create a random background.

Tags:

comments comment

loading loading...

 

Add a comment: