f_poincare, live
Folds the Poincare disk by a regular {p,q} tiling group, drawing the settled point as a UV tile; mode b uses a wedge fold.
The cell below steps the NumPy mirror that f_poincare's tests are written against, in your browser. It is the NumPy mirror, not the Max patch, and it is not claimed to match the patch bit for bit.
Downloads about 15 MB the first time (Python and NumPy).
modepicks the fold: a inverts the whole tile in the p edge circles, b reflects into a wedge first.psets the number of sides of each tile (its clamped rounded value is what folds).qsets how many tiles meet at each vertex; the mirror clamps invalid pairs to the nearest hyperbolic one.tile scalesets how much of each settled tile the camera shows (smaller tiles in, more repeats).itersis how many fold steps run per frame; low values leave the fold unfinished.rim fadedarkens the outer ring of the disk.camera xmoves the viewing point sideways inside the disk, warping and unrolling the tiling.camera ymoves the viewing point vertically inside the disk.