Ulam spiral or prime spiral

Cool project if you love math (or not) !

The begining : how to write in spiral

The real project : Ulam spiral
(Run it in the editor)

Idea from:
Coding Train Challenge 167: Ulam Spiral of Prime Numbers

Interesting. Why does this have a name? Is it mathematically significant? Like, say, are we supposed to take note of the dense ray starting at 13 and going leftward?

From mathematician Stanisław Ulam

Wow! Thank you.

You see this spiral path: it start at 1 in the middle:

get rid of the non-prime numbers !

No, I get it! It's very cool that there are reasons for the visible rays.