SketchBook

プログラム

function setup() {
createCanvas(windowWidth,
windowHeight);
 background(500,500,500);
}
function draw() {
var from = color(0, 200, 255, 40);
var to = color(255, 100, 150, 40);

fill(lerpColor(from, to, random(1.0)));
rect(random(width), random(height), 50, 50);
}
function draw() {
noFill();
 stroke(random(0, 500), random(0, 500), random(0, 750));
ellipse(random(0, 500),  random(0, 500),  random(150, 500));
}