fullscreen int x = 0;
PImage mond;
void setup() {
size(1000,700);
background(255);
mond= loadImage("diamond.jpg");
}
void draw() {
image(mond, x, 30);
x = x+5;
if(x>1000) {
x=0;
}
fill(146,223,227);
image( mond, x, 400);
x = x+5;
if(x>1000) {
x=0;
}
fill(101,136,168);
delay(100);
}
void mousePressed(){
fill(177,223,243);
image(mond, (random(0,1000)), (random(0,700)));
}
void keyPressed(){
fill(67,81,104);
ellipse(random(0,400),random(0,400),random(0,400), random(0,400));
}