Greg Heartsfield home

Euler’s Line in MetaPost

Euler’s line, showing that the orthocenter, centroid, and circumcenter are collinear. Created with MetaPost.

Eulers line

This was all defined in MetaPost parametrically, so it’s trivial to create the line through any (non-equilateral) triangle. Showing the center of the 9-point circle is collinear as well is easy too.

Source here.

Validate XHTML Validate CSS