model-x

model-y

model-z

screen-x

screen-y

screen-z

model-x

Arguments
[x y z]
Docstring
Returns the three-dimensional x, y, z position in model space. This
returns the x value for a given coordinate based on the current set
of transformations (scale, rotate, translate, etc.) The x value can
be used to place an object in space relative to the location of the
original point once the transformations are no longer in use.
Works only inside sketch functions?
Yes
Original Processing method
modelX()

model-y

Arguments
[x y z]
Docstring
Returns the three-dimensional x, y, z position in model space. This
returns the y value for a given coordinate based on the current set
of transformations (scale, rotate, translate, etc.) The y value can
be used to place an object in space relative to the location of the
original point once the transformations are no longer in use.
Works only inside sketch functions?
Yes
Original Processing method
modelY()

model-z

Arguments
[x y z]
Docstring
Returns the three-dimensional x, y, z position in model space. This
returns the z value for a given coordinate based on the current set
of transformations (scale, rotate, translate, etc.) The z value can
be used to place an object in space relative to the location of the
original point once the transformations are no longer in use.
Works only inside sketch functions?
Yes
Original Processing method
modelZ()

screen-x

Arguments
[x y][x y z]
Docstring
Takes a three-dimensional x, y, z position and returns the x value
for where it will appear on a (two-dimensional) screen, once
affected by translate, scale or any other transformations
Works only inside sketch functions?
Yes
Original Processing method
screenX()

screen-y

Arguments
[x y][x y z]
Docstring
Takes a three-dimensional x, y, z position and returns the y value
for where it will appear on a (two-dimensional) screen, once
affected by translate, scale or any other transformations
Works only inside sketch functions?
Yes
Original Processing method
screenY()

screen-z

Arguments
[x y z]
Docstring
Given an x, y, z coordinate, returns its z value.
 This value can be used to determine if an x, y, z coordinate is in
 front or in back of another (x, y, z) coordinate. The units are
 based on how the zbuffer is set up, and don't relate to anything
 'real'. They're only useful for in comparison to another value
 obtained from screen-z, or directly out of the zbuffer
Works only inside sketch functions?
Yes
Original Processing method
screenZ()