mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-06 04:59:16 +01:00
processing-js 0.4 has been merged in some relevant parts basic and topic scripts added for test color handling fixed, more scripts show up now
12 lines
155 B
Plaintext
12 lines
155 B
Plaintext
void setup() {
|
|
size(200, 200);
|
|
background(102);
|
|
}
|
|
|
|
void draw() {
|
|
stroke(255);
|
|
if(mousePressed) {
|
|
line(mouseX, mouseY, pmouseX, pmouseY);
|
|
}
|
|
}
|