Added guidance to example and default configuration

This commit is contained in:
Matěj Kašpar Jirásek 2016-04-12 16:35:23 +02:00
commit 053fac2bd2
2 changed files with 34 additions and 14 deletions

View file

@ -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);