-
-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathfullscreen_export.expected
More file actions
39 lines (32 loc) · 873 Bytes
/
fullscreen_export.expected
File metadata and controls
39 lines (32 loc) · 873 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
39
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 fullscreen_export extends PApplet {
int x = 0;
public void setup() {
background(0);
noStroke();
fill(102);
}
public void draw() {
rect(x, height*0.2f, 1, height*0.6f);
x = x + 2;
}
static public void main(String[] passedArgs) {
String[] appletArgs = new String[] { "--full-screen", "--bgcolor=null", "--hide-stop", "fullscreen_export" };
if (passedArgs != null) {
PApplet.main(concat(appletArgs, passedArgs));
} else {
PApplet.main(appletArgs);
}
}
}