1 lines, no comments ยท 183 tokens, written in 10 seconds for $0.0018


1  function setup() {  createCanvas(400, 400);  colorMode(HSB, 360, 100, 100);  noStroke();}function draw() {  background(0);}function mousePressed() {  background(random(360), 100, 100);}function mouseReleased() {  noLoop();}function mouseDragged() {  let x = constrain(mouseX, 0, width);  let y = constrain(mouseY, 0, height);  fill(x, y, 100);  rect(x, y, width/2, height/2);}