Tuesday, November 28, 2017

Mandelbrot and Julia Set in OpenGL

I have ported the C code from an earlier project to OpenGL. This code runs much faster with better compiler than the earlier runtime environment of TurboC++.
You have to click on certain regions of the Mandelbrot Set and get the Julia Set.

Snapshots:


After clicking a point in the above diagram we get this image below:
(Hint: Those regions that are at the boundary of the Mandelbrot set have got richer Julia set patterns, hence clicking on anywhere and everywhere will not get you interesting patterns)


Here is the source.

This e-book is a really good source of reference for the theory behind this....

Chaos
It has the following chapters:

Iteration
Bifurcation
Universality
Strange Attractors
Strange and Complex
Julia Sets
Mandelbrot Sets
About Dimension
Euclidean Dimension
Topological Dimension
Fractal Dimension
Measuring Chaos
Harmonic Oscillator
Logistic Equation
Lyapunov Exponent
Lyapunov Space
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In JOGL the same thing implemented using Modern OpenGL published in the site:
https://blog.nobel-joergensen.com/

Snapshot:

Here is a link to the Source into my Github.

No comments:

Post a Comment