- Prime (Ulam) SpiralVisualisation of the Prime Spiral
- Number SpiralDemo of displaying numbers in a spiral pattern
- Prime vs Random SpiralVisual comparison of a prime spiral and a random spiral pattern
- Shapes & ColorPrime Spiral visualised with various colorful shapes
- Incorporating 3DPrime Spiral visualised with 3D shapes
Why do prime numbers show up as diagonals in a spiral? In this video, I create a visualization in JavaScript (p5.js) of the Ulam Spiral (aka Prime Spiral) named for Polish Mathematician Stanislav Ulan.
The Coding Train Twitch Channel
Scientific American article on prime numbers
An article on the distribution of prie numbers
Wikipedia entry on prime numbers
Wikipedia entry listing prime numbers
Link to download Processing 4
Numberphile video on prime spirals
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund