We are about to switch to a new forum software. Until then we have removed the registration on this forum.
function setup(){ createCanvas(1000, 400); rectMode(CENTER); } function draw(){ background(240);
translate(150, 150);
rotate(radians(mouseY));
fill(0);
rect(0, 0, 100, 100);
rotate(radians(mouseY));
fill(0);
rect(200, 0, 100, 100);
rotate(radians(mouseY));
fill(0);
rect(400, 0, 100, 100);
}
Answers
https://forum.Processing.org/two/discussion/15473/readme-how-to-format-code-and-text
https://p5js.org/reference/#/p5/push