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
193 B
Plaintext
12 lines
193 B
Plaintext
size(200, 200);
|
|
smooth();
|
|
background(0);
|
|
strokeWeight(10);
|
|
|
|
for(int i = 0; i < width; i++) {
|
|
float r = random(255);
|
|
float x = random(0, width);
|
|
stroke(r, 100);
|
|
line(i, 0, x, height);
|
|
}
|