HomeMathematicsAnalytic Number Theory: Prime Spiral & the Prime-Counting Function

🔢 Analytic Number Theory: Prime Spiral & the Prime-Counting Function

Watch integers rise as a 3D Sacks spiral while prime numbers light up. Sweep the range, animate the build-up, isolate primes only, and compare the live prime count pi(N) against the Prime Number Theorem estimate N / ln(N) in real time.

Mathematics3DModerate60 FPS
analytic-number-theory ↗ Open standalone
⚙ Under the hood

Watch a rising Sacks-style spiral of the integers light up with prime numbers. Sweep the range up to 20,000, animate the build-up, isolate primes only, and compare the live prime count pi(N) against the Prime Number Theorem estimate N / ln(N) in real time.

Three.jsnumber theoryprime numbersRiemann zeta functionInstancedMesh

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)