// getting started with p5js
var h = 0;
var s = 0;
var b = 0;
function setup() {
h = random(360);
s = random(50,100);
b = random(20,100);
createCanvas(400,400);
colorMode(HSB,360,100,100,100);
fill(h%360,50,50);
rect(0,0,width,height/3);
h+=120;
fill(h%360,50,50);
rect(0,height/3,width,height/3);
h+=120;
fill(h%360,50,50);
rect(0,(height/3)*2,width,height/3);
}
function draw() {
noLoop();
}