What if we could see prime numbers like stars in our galaxy?
This project turns prime numbers into a 3D star map you can explore. Each glowing point is a prime-related position in space. Instead of reading primes as a plain list, you can move around and inspect their shape, clusters, and long trails.
How The Data Was Generated
The positions are generated in Python using a simple 3D turtle-graphics idea. Think of an invisible turtle walking one step at a time in 3D space.
- The turtle starts at coordinate (0, 0, 0).
- It walks forward one unit per step.
- Whenever the step count is prime, we record that coordinate and turn.
- Turns alternate between relative right and up.
Small path sketch:
Start (0,0,0)
-> prime step 2: move +X
-> prime step 3: turn right, move +Y
-> prime step 5: turn up, move +Z
-> next primes continue the 3D spiral path
How To Use The Viewer
- Drag to orbit, scroll to zoom.
- Click a point to open details.
- Use Search to jump to a prime value in the loaded dataset.
- Use the menu to load different dataset sizes and reset view.
Have fun!