Initial Commit

This commit is contained in:
plane000
2018-04-20 10:15:15 +01:00
parent 49150ccfe4
commit 62101e8e61
2870 changed files with 520122 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/**
* Random.
*
* Random numbers create the basis of this image.
* Each time the program is loaded the result is different.
*/
void setup() {
size(640, 360);
background(0);
strokeWeight(20);
frameRate(2);
}
void draw() {
for (int i = 0; i < width; i++) {
float r = random(255);
stroke(r);
line(i, 0, i, height);
}
}