[OC] PRIME NUMBERS: whenever n was a prime number, the path changed 90 degrees clockwise, with 100.000 numbers (credit to u/Franghein for making a prettier but much shorter version of this)

Image from preview.redd.it and submitted by Oh_Tassos
image showing [OC] PRIME NUMBERS: whenever n was a prime number, the path changed 90 degrees clockwise, with 100.000 numbers (credit to u/Franghein for making a prettier but much shorter version of this)

brynnafidska on October 18th, 2020 at 20:11 UTC »

I’d be curious to see how changing the angle to 45/60/120/135 would change the impact. And also wondering if there’s an elegant way to introduce curves to the iteration.

BiggestFlower on October 18th, 2020 at 20:30 UTC »

This all looks a bit Jeremy Bearimy

drfatbuddha on October 18th, 2020 at 22:07 UTC »

Cool!

I just wrote a small javascript program which does this for the first 4 million prime numbers. I've scaled it down, so that 1 pixel is 80 units, and using an alpha of 0.05 so that you can sort of see how it overlaps. This is the output:

https://imgur.com/a/m57WCsY