News for hackers. Stuff that matters.
Re:An Interesting Pattern in the Prime Numbers: Parallax Com... by sixstringtheory on Friday May 18, 2018 @05:39PM (#17105165)
I played around with the cool demo posted by no_gravity: https://news.ycombinator.com/item?id=17104652

replace the source with the one I dropped here and hit Go: https://pastebin.com/aw9nRmeZ

It's actually fun to run the original first and then watch the colors overlay on top of it.

Re:An Interesting Pattern in the Prime Numbers: Parallax Com... by OmIsMyShield on Friday May 18, 2018 @07:19PM (#17105702)
I fiddled with your version and changed the colours to a heatmap-like colour scheme adapted from https://stackoverflow.com/questions/12875486/what-is-the-alg...

This shows the pattern again:https://imgur.com/qR4iGJb

Further fiddling ~shows~ highlights more patterns: https://imgur.com/a/Yjln2RX

Re:An Interesting Pattern in the Prime Numbers: Parallax Com... by macawfish on Friday May 18, 2018 @06:03PM (#17105301)
Thank you! I tried doing this with the observablehq version and got really "lost in the Ulam Spiral" of opening and closing functions.