Skip to content

Rotation

The rotation transformation works as follows:

  • rotate90a - Rotate 90 degrees anti-clockwise.
  • rotate90c - Rotate 90 degrees clockwise.

Where the 90 degrees can be replaced with any angle in degrees.

It is mandatory to use the a or c suffix, regardless of the angle.


Example

with animation

square{pos{x: 100, y: 100}}->rotate90a