Explore

Explore

Type the corners of a triangle, or a list of points. The pictures are drawn from exact coordinates, and the theorems are checked exactly for the figure you gave. Further down: a solid with its exact measurements and symmetry group, and a wallpaper pattern named by its group.

A triangle

Each corner is two exact numbers separated by a comma: 1/2, 0.35 and sqrt(3) all work. The picture shows the circumcircle, the incircle, the nine-point circle and the Euler line through O, G and H. Try 0, 0, 2, 0, 1, sqrt(3), where the centres coincide.

A set of points

Points are separated by semicolons. The outline is the convex hull and the inner lines are the Delaunay triangulation; the two highlighted points are the closest pair.

A solid

The solids with √5 in their coordinates take a moment, since every face is proved with exact algebraic numbers.

A wallpaper pattern

The pattern is made by applying the group's generators to the seed point and two companions of other colours, then classified again from scratch by the flowchart.

A hyperbolic triangle

The points are given in the Poincaré disc (inside the unit circle) and shown in the model chosen. The angles have exact cosines; the defect, π minus their sum, is the area.

A regular tiling {p, q}

Regular p-gons, q at each corner. The page says which geometry the tiling lives in; a hyperbolic one is drawn in the Poincaré disc, from floats, with the tile's exact size beside it.

Try itEdit the code and run it with @ratmath/geo and Core's Rational in scope. The last line's value is shown; PRINT(…) adds lines, TEX(…) typesets math.
Ctrl/⌘ + Enter runs