Commit 9887a21c authored by 13218262's avatar 13218262
Browse files

Add new file

parent 840cdf40
float r = 0;
float x = 100 ; // adapted by me
public void setup() {
// adapted by me
background(173, 224, 114); // adapted by me
noStroke();
}
public void draw() {
ellipse(x,22, 10, 20) ; // adapted by me
translate(mouseX, mouseY);
rotate(r);
fill(random(252), 136, random(300, 143), 100); // adapted by me
float circle_size = random(5, 8);
//change parameters below to get different versions of the image
quad(100 + r, 10, circle_size, circle_size, 0, cos(r), 100, 10);
r = r + 0.9f;
}
public void settings() { size(700, 650); smooth(); }
static public void main(String[] passedArgs) {
String[] appletArgs = new String[] { "--present", "--window-color=#666666", "--stop-color=#cccccc", "Final_Sketch" };
if (passedArgs != null) {
PApplet.main(concat(appletArgs, passedArgs));
} else {
PApplet.main(appletArgs);
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment