Ulam Spiral with custom shape

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 Sp ...
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
What the Coding Train community has created based on this video
Have you completed a project? Share your work!