Showing posts with label fractals. Show all posts
Showing posts with label fractals. Show all posts

Friday, 5 August 2011

Fractal Gallery

Nothing makes me feel more productive than creating an experiment / process that can run in the background while I do other stuff. TBH, I usually end up spending so long tuining the background process to work perfectly that I lose any time that I might of gained. Or otherwise I just watch the background process and lose the point of the whole thing.

That aside, I've been leaving my fractal code running in the background while writing emails etc. and this has led to some nice images. Rather than creating a new post for each of these, I've started a static Fractal Gallery page, where I'm going to be adding new images as necessary (either when finding cool stuff, or developing the code / maths further).

Wednesday, 3 August 2011

Initial Mandlebrot renderings

I recently picked up a copy of the excellent book 'The Beauty of Fractals' for just 20p from a library sale, inspired I've had another go at rendering a fractal function. This time the classic mandlebrot set.

Here's a small portion near the upper complex limit, this rendered slowly in Matlab while I went for lunch:

I grabbed the basic psuedo code from Wikipedia, though I noticed some bugs in this during implementation. I've updated the Wikipedia code to get rid of these. The wiki code doesn't shade inside the set (the green parts), but this is just related to the magnitude of the real + complex co-ordinates squared.

If people want the Matlab code then leave a comment and I'll post it.