Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not exactly the same, but I made this Ulam spiral generator more than a decade ago.

https://embed.plnkr.co/mdZX6C/

It isn't just doing primes though, instead the size of the dot generated is dependent on the number of even divisors for the number at that position.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: