xxxxxxxxxx
function setup() {
createCanvas(1800, 800, WEBGL);
colorMode(HSB);
//blendMode(ADD)
}
function draw() {
background(255);
noFill();
//translate(p5.Vector.fromAngle(millis() / 0.01));
//stroke(0, 100, 182);
//box(500, 145, 145);
stroke(random(255), random(255), random(255),tan(2));
noStroke();
t=random(1,50)
o=random(1,10)
for (let i = 0; i < 150; i++) {
for (let j = 0; j < 95; j++) {
let x = i * 12;
let y = j * 10
//box(t, y, sin(o))
//box(x,y,tan(sin(x)));
box(x*sin(random(o)),(y/random(10)),random(100));
fill((random(270,360)),100,100);
//t+=0.1
//tt+=0.2
stroke(random(360), random(50), random(100));
strokeWeight(0.1);
}
}
}