HomeMathematicsModular Forms — Fundamental Domain Explorer

Modular Forms — Fundamental Domain Explorer

Interactive explorer for the modular group SL(2,Z) acting on the upper half-plane: place a point, apply the T and S generators to trace its orbit across tiled copies of the fundamental domain, and watch a live Eisenstein-series (E4) plot along the domain's boundary contour.

Mathematics2DAdvanced60 FPS
modular-forms ↗ Open standalone

This simulator visualizes the action of the modular group SL(2,Z) on the upper half-plane. The classic fundamental domain of the group — the hyperbolic "triangle" bounded by |z| ≥ 1 and |Re(z)| ≤ ½ — is drawn in the canvas above, surrounded by neighboring copies produced by the generators T (translation) and S (inversion). Click anywhere to drop a point and use the T/S buttons to move it through the tiling, watching its orbit connect matching points across different fundamental-domain copies. The strip below plots a truncated Eisenstein series E₄(z) sampled live along the boundary of the fundamental domain, a first taste of how modular forms behave along that same contour.

⚙ Under the hood

Interactive fundamental-domain explorer for the modular group SL(2,Z) acting on the upper half-plane. Click a point, apply the T (z+1) and S (-1/z) generators to trace its orbit across neighboring tiled copies of the classical fundamental domain, and watch a live-animated Eisenstein series E4(z) q-expansion plotted along the domain boundary contour.

mathmodular formsnumber theorycomplex analysisSL(2,Z)fundamental domainupper half-planeEisenstein serieshyperbolic geometry

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)