with-rotation

with-translation

with-rotation

Arguments
[rotation & body]
Docstring
Performs body with rotation, restores current transformation on exit.
Accepts a vector [angle] or [angle x-axis y-axis z-axis].

Example:
  (with-rotation [angle]
    (vertex 1 2))
Works only inside sketch functions?
Yes
Original Processing method
None. It is present only in Quil.

with-translation

Arguments
[translation-vector & body]
Docstring
Performs body with translation, restores current transformation on
exit.
Works only inside sketch functions?
Yes
Original Processing method
None. It is present only in Quil.