OrthoCenter.py
from pygeo import *
v=display(scale=70)
point1 = FreePoint(-33.,-33,-3,pointsize=1.5)
point2 = FreePoint(-40,27,4,pointsize=1.5)
point3 = FreePoint(40,-3,0,pointsize=1.5)
OrthoCenter(point1,point2,point3,color=RED,pointsize=2.5)
#reference objects
line1=Line(point1,point2,color=WHITE)
f1=Foot(point2,Line(point1,point3,color=WHITE))
f2=Foot(point1,Line(point2,point3,color=WHITE))
f3=Foot(point3,Line(point1,point2,color=WHITE))
Line(f1,point2,color=WHITE)
Line(f2,point1,color=WHITE)
Line(f3,point3,color=WHITE)
v.pickloop()