Programming examples
Showing posts with label
random lines
.
Show all posts
Showing posts with label
random lines
.
Show all posts
Sunday, 23 July 2017
Simple Processing Generative Art/Drawing 1
Code to generate above pttern
void setup(){
size(255,255);
}
void draw(){
float r=random(255);
float b=random(255);
float g=random(255);
stroke(r,b,g);
line(0,0,r,b);
}
Older Posts
Home
Subscribe to:
Posts (Atom)