Mostly me, but tons of credit to @MathMathMath for the 3D tutorial and credit to @Ellenion for the pen triangle filler.
notes: - plane glitches when z is less than 5. - plane turns into a dot when cam rot x and cam rot y are both 90 and cam x and cam y are both zero.