Author Topic: 1080p Ulam Spiral of Composite Numbers  (Read 1500 times)

About a year ago, I was inspired by the Numberphile video on Prime Spirals to try the same concept with composite (not prime) numbers. I wrote a program in Processing that would draw and output an image of an Ulam Spiral (see video) where each pixel is a number and each number is brighter depending on how many divisors they have other than 1 or themselves. Prime numbers have a brightness of 0, square semi-prime numbers have a brightness of 1, non-square semi-prime numbers have a brightness of 2, twelve has a brightness of 4, and so on. I liked the result, and decided to render the spiral in 1080p for a desktop background.


The final result (click to enlarge):

Also I was using it as a desktop background at my new job a few days ago and my co-workers replaced it with an MLP background.
« Last Edit: July 09, 2016, 11:16:46 AM by Alcom1 »

Processing is my ham dude
That's pretty rad
Here's a bit of stuff I made recently
http://imgur.com/a/ZkxLi
http://imgur.com/a/2wnjZ
http://imgur.com/a/UJye9

Here's a bit of stuff I made recently
That's awesome! Do any of those use P3D?

Also I was using it as a desktop background at my new job a few days ago and my co-workers replaced it with an MLP background.
What the actual forget?

I might try to add this to my current background, looks really cool

What the actual forget?
I left my desk to use the bathroom, returned, and someone had changed my dekstop background to a My Little Pony themed wallpaper.

I left my desk to use the bathroom, returned, and someone had changed my dekstop background to a My Little Pony themed wallpaper.
you have the right to find whoever did that and murder them

but anyways this is cool

That's awesome! Do any of those use P3D?
Nope, all just 2D. To be honest, even after making all those, I don't know exactly how I did it.