Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Hyperbolic geometry studio

Explore the Poincare disc: straight lines that curve, true distances, triangles with under 180 degrees, hyperbolic tilings {p, q} and circle inversion.

How to use

  1. Lines and triangles: click up to three points in the disc (or type them). The red lines are hyperbolic straight lines: the shortest routes, drawn as arcs that meet the rim at right angles. The table gives true distances, the angles, their sum and the area.
  2. Tilings: pick a famous tiling or choose p (sides of each tile) and q (tiles meeting at each corner). In the hyperbolic plane any pair with (p - 2)(q - 2) above 4 works.
  3. Circle inversion: choose a circle and a shape. Each point is sent along the ray from the centre so that the two distances multiply to the radius squared. Lines turn into circles through the centre.

Keyboard and touch

Click or tap the discAdd a point (a fourth click starts again)
TabMove between tabs, boxes and buttons
EnterIn a box: draw

Tips

  • The disc is infinitely big inside: the rim is infinitely far away. Things near the rim are drawn smaller, not made smaller.
  • Drag a triangle's corners towards the rim: the angles shrink towards 0 and the area grows towards π, but never beyond it.
  • All tiles in a tiling are exactly the same size and shape. Count the tiles at any corner: always q.
  • Inversion maps circles and lines to circles and lines and keeps angles. Reflections in the hyperbolic plane are inversions in circles that meet the rim at right angles.

About this tool

The Poincare disc is a map of the hyperbolic plane, the geometry where, through a point beside a line, infinitely many lines never meet it. Distance between points u and v is arcosh(1 + 2|u - v|² / ((1 - |u|²)(1 - |v|²))). Angles in the disc are true angles, so a triangle's angles can be measured on screen; their sum is always below 180°, and the shortfall is exactly the triangle's area (Gauss-Bonnet).

Tilings are built from one central tile whose corner is at the hyperbolic distance R with cosh R = cot(π/p) cot(π/q), then reflected across its edges again and again. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product