mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-06 21:10:06 +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
17 lines
178 B
Plaintext
17 lines
178 B
Plaintext
void setup()
|
|
{
|
|
size(100, 100);
|
|
}
|
|
|
|
void draw()
|
|
{
|
|
background(204);
|
|
line(0, 0, mouseX, height);
|
|
line(width, 0, 0, mouseY);
|
|
}
|
|
|
|
void mousePressed()
|
|
{
|
|
save("line.tif");
|
|
}
|