Saturday, August 22, 2009
alexZv2
// just type here
// and click "submit" when done
int red_part =0;
int green_part = 0 ;
int blue_part = 0;
void setup(){
size(300,300);
background(20,30,40);
}
void draw(){
red_part++;
green_part++;
blue_part++;
if (red_part > 246){
red_part = 246;
}
if (green_part > 166){
green_part = 166;
}
if (blue_part > 200){
blue_part = 200;
}
fill(red_part, green_part, blue_part);
rect(250,180,150,180);
fill(red_part, green_part,blue_part);
rect(100,100,100,100);
}
// and click "submit" when done
int red_part =0;
int green_part = 0 ;
int blue_part = 0;
void setup(){
size(300,300);
background(20,30,40);
}
void draw(){
red_part++;
green_part++;
blue_part++;
if (red_part > 246){
red_part = 246;
}
if (green_part > 166){
green_part = 166;
}
if (blue_part > 200){
blue_part = 200;
}
fill(red_part, green_part, blue_part);
rect(250,180,150,180);
fill(red_part, green_part,blue_part);
rect(100,100,100,100);
}