Table of contents
WeightedLines
For the 24th Prompt Of Mathober: Weight, WeightedLines is coded in Processing (Andriod Version) and plays with the strokeWeight function.
Poem
Triangles Roaming
Rapidly Forming
Constantly Storming
As they wait to be Open
Video
Processing Code
void setup() {
size(displayWidth, displayHeight);
background(102);
}
void draw() {
strokeWeight(random(11,47));
stroke(second() % 70 + random(200), random(200), second());
fill(random(255),random(245),random(235), random(86));
triangle(random(100), random(height), random(width * second() % 3), random(300),random(150),random(200));
triangle(random(width),second() % 100, random(width), random(height),random(300),random(700));
;
}