The equation of projection
Cartesian coordinates:
We have, by similar triangles, that (x, y, z) ->
                  (f x/z, f y/z, -f)
Ignore the third coordinate, and get