-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCircleMode.pde
More file actions
executable file
·38 lines (32 loc) · 878 Bytes
/
CircleMode.pde
File metadata and controls
executable file
·38 lines (32 loc) · 878 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
33
34
35
36
37
38
void loadingCircle() {
if (circleCounter > 360) {
circleCounter=360;
} else {
for (int i = 0; i < circleCounter; i += 18) {
// thikness
strokeWeight(thickness);
// Draw every Line
drawLine(i, 3, 18, maxOuterRadius);
/*
i+=7;
line(cos(radians(i + j * 1)) * innerRadius, sin(radians(i + j * 1)) * innerRadius, 0,
cos(radians(i + j * 1)) * (innerRadius + 200),
sin(radians(i + j * 1)) * (200 + innerRadius), 200 + 10); // draw
i-=7;
*/
}
}
circleCounter += 18;
System.out.println(circleCounter);
}
void unloadingCircle() {
if (uncircleCounter <= 360) {
for (int i = uncircleCounter; i<360; i += 18) {
// thikness
strokeWeight(thickness);
// Draw every Line
drawLine(i, 3, 18,maxOuterRadius);
}
}
uncircleCounter += 18;
}