Learning how to make generative art with p5.js
JavaScript
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0, 0, 50);
fill(200, 120, 100);
noStroke();
rect(20, 25, 200, 200);
stroke(255, 255, 255, 200);
strokeWeight(5)
line(0, 0, 360, 400)
}