🔢 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
⚙ 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