Skip to content

Commit 23247ba

Browse files
committed
Compatibility adjustments
1 parent 7435425 commit 23247ba

File tree

50 files changed

+118
-317306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+118
-317306
lines changed

01_P/P_1_2_3_03/P_1_2_3_03.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ int alphaValue = 27;
4040
int actRandomSeed = 0;
4141

4242
void setup() {
43-
size(800,800,OPENGL);
43+
size(800,800,P3D);
4444
colorMode(HSB,360,100,100,100);
4545
noStroke();
4646
}

01_P/P_1_2_3_04/P_1_2_3_04.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ int[] brightnessValues = new int[colorCount];
3939
int actRandomSeed = 0;
4040

4141
void setup() {
42-
size(800, 800, OPENGL);
42+
size(800, 800, P3D);
4343
colorMode(HSB, 360, 100, 100);
4444
noStroke();
4545
}

02_M/M_1_4_01/M_1_4_01.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ boolean showStroke = true;
6868

6969

7070
void setup() {
71-
size(800, 800, OPENGL);
71+
size(800, 800, P3D);
7272
colorMode(HSB, 360, 100, 100);
7373
tiler = new TileSaver(this);
7474
cursor(CROSS);

02_M/M_1_5_04_TOOL/GUI.pde

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,13 @@ void controlEvent(ControlEvent theEvent) {
101101
agentWidthMax = f[1];
102102
}
103103
}
104-
}
104+
}
105+
106+
107+
108+
109+
110+
111+
112+
113+

02_M/M_1_6_01_TOOL/M_1_6_01_TOOL.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ int qualityFactor = 3;
6969
TileSaver tiler;
7070

7171
void setup() {
72-
size(800, 800, OPENGL);
72+
size(800, 800, P3D);
7373
setupGUI();
7474
colorMode(HSB, 360, 100, 100);
7575
for (int i=0; i<agents.length; i++) agents[i]=new Agent();

02_M/M_1_6_02_TOOL/GUI.pde

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,14 @@ void controlEvent(ControlEvent theControlEvent) {
9191
maxStroke = f[1];
9292
}
9393
}
94-
}
94+
}
95+
96+
97+
98+
99+
100+
101+
102+
103+
104+

02_M/M_1_6_02_TOOL/M_1_6_02_TOOL.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ int qualityFactor = 3;
6969
TileSaver tiler;
7070

7171
void setup(){
72-
size(1280,800,OPENGL);
72+
size(1280,800,P3D);
7373
setupGUI();
7474
colorMode(HSB,360,100,100);
7575
for(int i=0; i<agents.length; i++) agents[i]=new Agent();

02_M/M_2_4_01/M_2_4_01.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ TileSaver tiler;
5858

5959

6060
void setup() {
61-
size(600, 600, OPENGL);
61+
size(600, 600, P3D);
6262

6363
tiler = new TileSaver(this);
6464

02_M/M_2_5_02_TOOL/GUI.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void controlEvent(ControlEvent theControlEvent) {
141141

142142
if (theControlEvent.isController()) {
143143
if (theControlEvent.getController().getName().equals("hueRange")) {
144-
float[] f = theControlEvent.getController().arrayValue();
144+
float[] f = theControlEvent.getController().getArrayValue();
145145
minHueValue = f[0];
146146
maxHueValue = f[1];
147147
}

02_M/M_2_6_01_TOOL/GUI.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void controlEvent(ControlEvent theControlEvent) {
136136

137137
if(theControlEvent.isController()) {
138138
if(theControlEvent.getController().getName().equals("hueRange")) {
139-
float[] f = theControlEvent.getController().arrayValue();
139+
float[] f = theControlEvent.getController().getArrayValue();
140140
minHueValue = f[0];
141141
maxHueValue = f[1];
142142
}

0 commit comments

Comments
 (0)