You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
418 B
Java

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