Added guidance to example and default configuration
This commit is contained in:
parent
8bf0ea0596
commit
053fac2bd2
2 changed files with 34 additions and 14 deletions
|
|
@ -9,16 +9,19 @@ public class ExampleApplet extends PApplet {
|
|||
|
||||
@Override
|
||||
public void settings() {
|
||||
// TODO: Customize screen size and so on here
|
||||
size(200, 200);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setup() {
|
||||
// TODO: Your custom drawing and setup on applet start belongs here
|
||||
clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw() {
|
||||
// TODO: Do your drawing for each frame here
|
||||
clear();
|
||||
fill(255);
|
||||
rect(50, 50, 100, 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue