🦋 Rotates the drawing context.
rotation angle in radians
q5.draw = function () { background(0.8); rotate(mouseX / 50); rectMode(CENTER); square(0, 0, 120);}; Copy
q5.draw = function () { background(0.8); rotate(mouseX / 50); rectMode(CENTER); square(0, 0, 120);};
🦋 Rotates the drawing context.