-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPTemplate.java
More file actions
39 lines (28 loc) · 844 Bytes
/
PTemplate.java
File metadata and controls
39 lines (28 loc) · 844 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
/***
* Starter code for developing Processing sketches in a different IDE.
* Requires: processing.core.jar libraries (distributed with Processing)
*
* Instructions
* - change the name of the class definition to the name of your sketch
* - change the name of the class referenced in the call to PApplet.main()
* - override settings(), setup(), draw() and any other methods of PApplet
* - the size() method must be called in settings() rather than in setup()
*
*/
import processing.core.PApplet;
public class PTemplate extends PApplet {
public static void main(String[] args) {
PApplet.main(new String[] { "PTemplate" });
}
public void settings() {
}
public void setup() {
}
public void draw() {
}
public void keyPressed() {
}
public void mousePressed() {
}
// other methods from processing.core.PApplet
}