Added example Processing applet

This commit is contained in:
Matěj Kašpar Jirásek 2015-10-01 12:29:01 +02:00
parent 3d6f2a2173
commit c996d580a7

26
src/ExampleApplet.java Normal file
View File

@ -0,0 +1,26 @@
import processing.core.*;
public class ExampleApplet extends PApplet {
public static void main(String args[]) {
PApplet.main("ExampleApplet");
}
@Override
public void settings() {
size(200, 200);
}
@Override
public void setup() {
clear();
}
@Override
public void draw() {
clear();
fill(255);
rect(50, 50, 100, 100);
}
}