One thing that's nice about the Mandelbrot set is that you can calculate each pixel independently of all the other pixels. This means if you have 8 CPUs, you can split the image into 8 parts and render it that way.
A bit of topic, but the blog conclusion made me wondered if anyone would one day expose code in a museum.
Any people who've seen real top level code know there is a kind of beauty or at least aesthetic in very correct code, so why not put them on a frame and expose them. Same could be said of some really important mathematic or physic formulas, but they're sometimes short and their meaning really is obscure. Whereas code is at least partially written in human language, which would make such an exhibit still understandable by everyone.
I've had some prints done of shaders I've written that were beautiful, and the next step for me is to put the code right along with the images. I see an odd kind of beauty in tying the two together, like seeing the palette next to a painting. Just need to figure out how I'm going to present it.
I've been looking for more geeky art to put up in my home office (like their version on CafePress with the code in the image - http://www.cafepress.com/preshing.571735472).
Yes it does! That is the code that creates the entire poster - including the code at the bottom, the title, the author, the year, and the cc-attribution-nocommercial graphic.
> If you’re willing to leave the script running for a few hours, you can increase the image resolution on line 8. (Just make sure the width is divisible by 4.)
You can make a lower resolution version too. I used:
I apparently decided to try this out about 4 years ago. Here's the result: https://gist.github.com/jrockway/291074
Still slow. Need to run this on some machines at work :)