Browse Source

Added example Processing applet

master
Matěj Kašpar Jirásek 6 years ago
parent
commit
c996d580a7
  1. 26
      src/ExampleApplet.java

26
src/ExampleApplet.java

@ -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);
}
}
Loading…
Cancel
Save