PlanePerp.py

from pygeo import *

v=display(scale=70)

p1 = FreePoint(-33.,-33,-3,color=WHITE)
p2 = FreePoint(12,18,4,color=WHITE)
p3 = FreePoint(1,1,-11,color=WHITE)
plane=Plane(p1,p2,p3,color=BLUE)

point = FreePoint(-3,-9,-9,pointsize=1.5)

PlanePerp(plane,point,color=RED)

v.pickloop()