mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
16 lines
227 B
Plaintext
16 lines
227 B
Plaintext
import processing.pdf.*;
|
|
|
|
void setup() {
|
|
int newWidth = 400*2;
|
|
size(newWidth, 400/2);
|
|
}
|
|
|
|
void draw() {
|
|
// Draw something good here
|
|
line(0, 0, width/2, height);
|
|
|
|
// Exit the program
|
|
println("Finished.");
|
|
exit();
|
|
}
|