Wednesday, November 11, 2015

Realtime Heightmap Generation using Mandlebrot Set.

Something I read in a Fractal textbook. It had an example of Fractal compression of a photo. Output was similar to jpeg but the compression ratio was off scale.

To generate the Mandlebrot set only 3 numbers are needed. The x and y position for the centre of the output. And a depth or zoom value that magnifies the set.

As you have seen an image 1024x1024 which is 1048576 numbers can be created from 3 numbers. So far the Mandlebrot set is only good at producing dendrites. But dendrites exist in most natural structures so it's still a handy tool.

This is the best place to find dendrites.
Here is a couple of the billions there would be.


No comments:

Post a Comment