Tag Archives: PPM

More Mandelbrot

Here’s a modified version of the mandelbrot program from the previous post. This time, the generated images are in colour and output in binary PPM format (which is still uncompressed, but a bit more space efficient than the plain text … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

Visualising the Mandelbrot Set

I suppose it’s about 20 years since I first read about Benoit Mandelbrot and his pioneering work on fractal geometry. Ever since then, I have been intrigued by how fractal images with beautiful and complex textures can emerge from very … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 7 Comments

Modulo patterns in C (PGM and PPM)

During one my Engineering Computing classes last semester, I was writing an example C program to create a PGM image file when I accidentally produced an interesting pattern. I had been using a simple function of the pixel coordinates x … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | 2 Comments