#167 — The Prime (Ulam) Spiral

Back

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.

  • Editing

    by Mathieu Blanchette

  • Animations

    by Jason Heglund

Passenger Showcase

What the Coding Train community has created based on this video

Have you completed a project? Share your work!