xxxxxxxxxx
41
//this program to practice with color
//charlie link
//10/07/20
//let x = (30, 400);
//let y = (30, 400);
function setup() {
createCanvas(400, 400);
background(0, 70, 220);
//x = width/2;
//y = height/2;
}
function draw() {
let r = random(0, 20);
let g = random(0, 20);
let b = random(255);
let rad = random(40, 70);
let rad2 = random(40, 70);
let t = random(0, 100);
let w = random(1, 10);
//x = x + random(-60,60);
//y = y + random(-60,60);
frameRate(7);
//stroke =0 black fill =255 white strokeweight =
//noStroke(0);
fill(r, g, b);
strokeWeight(0);
//square(mouseX, mouseY, rad);
circle(mouseX, mouseY, rad);
//rect(mouseX, mouseY, rad, rad2);
}