-
-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathcolor.expected
More file actions
32 lines (28 loc) · 778 Bytes
/
color.expected
File metadata and controls
32 lines (28 loc) · 778 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.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.io.File;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
public class color extends PApplet {
public void setup() {
boolean test = true;
int c1 = color(255, 255, 255);
int c2 = test ? 0xFFA011CD : 0xC0C0C0C0;
noLoop();
}
static public void main(String[] passedArgs) {
String[] appletArgs = new String[] { "color" };
if (passedArgs != null) {
PApplet.main(concat(appletArgs, passedArgs));
} else {
PApplet.main(appletArgs);
}
}
}