generated from SACHSTech/ProcessingTemplate
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathSketch.java
More file actions
36 lines (28 loc) · 717 Bytes
/
Sketch.java
File metadata and controls
36 lines (28 loc) · 717 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
import processing.core.PApplet;
public class Sketch extends PApplet {
/**
* Called once at the beginning of execution, put your size all in this method
*/
public void settings() {
// put your size call here
size(400, 400);
}
/**
* Called once at the beginning of execution. Add initial set up
* values here i.e background, stroke, fill etc.
*/
public void setup() {
background(210, 255, 173);
}
/**
* Called repeatedly, anything drawn to the screen goes here
*/
public void draw() {
// sample code, delete this stuff
stroke(128);
line(150, 25, 270, 350);
stroke(255);
line(50, 125, 70, 50);
}
// define other methods down here.
}