Getting Started
installation of the modified version
the best introduction
setup() and loop()
half a semester in one slide... (notes from the past)
Basic Statements -> Static Form
Into 3D
Motion and interactivity
more here...
|
void setup() {
size(200, 200);
ellipseMode(CENTER_DIAMETER);
}
void loop() {
background(#F080D0);
fill(#F0D020);
drawCircle(mouseX, mouseY);
}
void drawCircle(float x, float y) {
push();
fill(#F0D020);
translate(mouseX, mouseY);
ellipse(0, 0, 50, 50);
pop();
}
|