38 points · by aragonite · 1y ago · 7 comments
https://en.wikipedia.org/wiki/Ulam_spiral
Why do prime numbers make these spirals? | Dirichlet’s theorem and pi approximations - 3Blue1Brown
Surely that's where the pattern comes from.
> So what’s clear here is that the spirals themselves have nothing to do with prime numbers; a much cleaner and fuller pattern can be seen when we plot all positive integers (as well as zero).
i built an "animation framework" in JavaScript around it where you can control and animate several parameters and even record the animation