Ring points Chords k → k·m mod N
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Modular Multiplication Circle

This simulation turns the humble times table into a living geometric object. N points sit evenly spaced on a 3D ring; every point k is joined by a chord to the point at index k·m mod N, where m is a multiplier you control. Nudge m and the chords sweep from straight diameters through cardioid and nephroid curves into intricate rose and star patterns — the visual signature of number theory's modular arithmetic. Live readouts track gcd(N, m) and the resulting rotational symmetry, animation continuously sweeps m so the pattern never sits still, and a "Random m" button jumps to a fresh integer multiplier to explore how N and m together decide the shape.