rotate()
Rotates the entire coordinate system around the origin
Example

translate(width/2, height/2)
rotate(frameCount * 0.5)
trect(50, 50, 100, 100)Syntax
Input
Description

Description
Last updated
Rotates the entire coordinate system around the origin

translate(width/2, height/2)
rotate(frameCount * 0.5)
trect(50, 50, 100, 100)
Last updated