Get the latest tech news

Python for Inversive and Hyperbolic Geometry


The Python code available on this page is a collection of classes and support functions for visualizing inversive and hyperbolic geometry, with the hyperbolic examples utilizing the Poincaré disc model. For more online information on hyperbolic geometry see here.

I was prompted to develop this software while reading about these topics in the excellent textbook"Geometry" by David A. Brannan, Matthew F. Esplen, and Jeremy J. The difference reflects one of my aims: to make the code simple enough to be easily understood while still being able to reproduce most of the drawings in chapters 5 and 6 of Brannan et al.. Also, in the context of inversion geometry, I wanted to generate a Pappus Chain similar to one drawn by hand in the Numberphile Youtube video"Epic Circles". As these examples show, my library only supports right-angled hyperbolic triangles, not arbitrary images, or even regular polygons.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of geometry

geometry

Related news:

News photo

Refactoring Python with Tree-sitter and Jedi

News photo

Hy 1.0 – Lisp dialect for Python

News photo

Scientific Visualization: Python + Matplotlib (2021)