
Prime Grid Visualizer
Explore prime numbers on an interactive grid — watch patterns emerge as primes light up across thousands of numbers. A beautiful way to see the structure in primes.
How to use
Explore prime numbers in an interactive grid visualization: **Goal:** Visualize prime number patterns by displaying numbers in a colored grid where green = prime, red = composite, blue = 1 (special case), grey = beyond your chosen limit. **Controls:** • Enter "n" value (upper limit), columns, and cell size in top controls • Click "Generate" to create/update the grid • Hover over any cell to see the number and its classification • Use "Jump to" field + "Go" button to navigate to specific numbers (highlights briefly) • Click "Export PNG" to save the current grid **Navigation:** • Scroll or drag within the grid area to explore • Jump feature automatically centers the target number in view **Settings:** • n: Maximum number to analyze (1-infinity) • columns: Grid width (5-200 columns) • cell size: Visual size of each number cell (6-80 pixels) **Stats:** Bottom panel shows prime count, composite count, percentage, and distribution across columns. The app uses an optimized algorithm to quickly identify primes even for large values of n.
Reviews
No written reviews yet. Be the first!







