-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
32 lines (21 loc) · 747 Bytes
/
Copy pathMain.java
File metadata and controls
32 lines (21 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import processing.core.PApplet;
public class Main extends PApplet{
Controller controller = new Controller();
public static void main(String[] args) {
PApplet.main("Main");
}
public void settings(){
size(1000, 500);
}
public void setup(){
}
public void draw(){
background(0);
ellipse(width/2, height/12, controller.a[0], controller.a[0]);
ellipse(width/2, height*3/12, controller.a[1], controller.a[1]);
ellipse(width/2, height*5/12, controller.a[2], controller.a[2]);
ellipse(width/2, height*7/12, controller.a[3], controller.a[3]);
ellipse(width/2, height*9/12, controller.a[4], controller.a[4]);
ellipse(width/2, height*11/12, controller.a[5], controller.a[5]);
}
}