15 lines
138 B
Plaintext
15 lines
138 B
Plaintext
int x = 0;
|
|
int y = 0;
|
|
|
|
void setup() {
|
|
size(800, 600);
|
|
|
|
y = height;
|
|
}
|
|
|
|
void draw() {
|
|
line(x, 0, x, y);
|
|
x+= 1;
|
|
y-= 1;
|
|
}
|