mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-05 12:39:15 +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
19 lines
196 B
Plaintext
19 lines
196 B
Plaintext
float a = 100;
|
|
|
|
void setup()
|
|
{
|
|
size(200, 200);
|
|
stroke(255);
|
|
frameRate(30);
|
|
}
|
|
|
|
void draw()
|
|
{
|
|
background(51);
|
|
a = a - 1;
|
|
if (a < 0) {
|
|
a = height;
|
|
}
|
|
line(0, a, width, a);
|
|
}
|