From 053fac2bd239771adbf0b0f54178590e3ab27aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Ka=C5=A1par=20Jir=C3=A1sek?= Date: Tue, 12 Apr 2016 16:35:23 +0200 Subject: [PATCH] Added guidance to example and default configuration --- .idea/workspace.xml | 45 +++++++++++++++++++++++++++++------------- src/ExampleApplet.java | 3 +++ 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6bde28e..8db023e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,7 @@ - - + @@ -29,8 +28,8 @@ - - + + @@ -124,7 +123,7 @@ - + - + + + + + - + + + + - - @@ -221,8 +238,8 @@ - - + + diff --git a/src/ExampleApplet.java b/src/ExampleApplet.java index c1942cb..f2a700f 100644 --- a/src/ExampleApplet.java +++ b/src/ExampleApplet.java @@ -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);