a port of the Processing Visualization Language
Name

screenZ()

Description

Takes a three-dimensional X, Y, Z position and returns the Z value for where it will appear on a (two-dimensional) screen.

Syntax
screenZ(x,y,z)
Parameters
x int or float: 3D x coordinate to be mapped
y int or float: 3D y coordinate to be mapped
z int or float: 3D z coordinate to be mapped
Returns float
Usage Web & Application
Related screenX()
screenY()

This reference is licensed under the CC BY-NC-SA 2.0 license:

Creative Commons License
Fork me on GitHub