Home▸Mathematics▸Sieve of Eratosthenes (2D)

🔢 Sieve of Eratosthenes (2D)

Interactive 2D Sieve of Eratosthenes: watch a grid of numbers get sieved live, marking composites as multiples of each prime are eliminated, leaving only primes glowing on the board.

Mathematics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-prime-sieve ↗ Open standalone
⚙ Under the hood

Watch the classic Sieve of Eratosthenes run live on a 2D number grid: step through the algorithm one prime at a time or auto-run it, and see every multiple of the current prime marked composite while surviving primes glow gold.

mathprime numbersalgorithmnumber theorysievegrid

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

What did you find?

Add reproduction steps (optional)