clojerl / doodler

Create drawings with code (heavily inspired in Clojure's Quil)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transformation related core functions

jfacorro opened this issue · comments

  • apply-matrix - "Multiplies the current matrix by the one specified through the parameters"
  • pop-matrix - "Pops the current transformation matrix off the matrix stack"
  • print-matrix - "Prints the current matrix to std out"
  • push-matrix - "Pushes the current transformation matrix onto the matrix stack"
  • reset-matrix - "Replaces the current matrix with the identity matrix"
  • rotate - "Rotates a shape the amount specified by the angle parameter"
  • rotate-x - "Rotates a shape around the x-axis the amount specified by the angle parameter"
  • rotate-y - "Rotates a shape around the y-axis the amount specified by the angle parameter"
  • rotate-z - "Rotates a shape around the z-axis the amount specified by the angle parameter"
  • scale - "Increases or decreases the size of a shape by expanding and contracting vertices"
  • shear-x - "Shears a shape around the x-axis the amount specified by the angle parameter"
  • shear-y - "Shears a shape around the y-axis the amount specified by the angle parameter"
  • translate - "Specifies an amount to displace objects within the display window"
  • with-rotation - "Performs body with rotation, restores current transformation on exit"
  • with-translation - "Performs body with translation, restores current transformation on exit"