Monday, December 21, 2015

Mandelbrot and Julia set

Iterated function systems(IFS) can generate fractals. One such fractal is the mandelbrot set which is the iteration of seed points inside a unit circle. After many iterations if the point does not become large or go towards infinity then the seed point is colored with darker shade.
Here is a very great looking snapshot of the mandelbrot set generated with a program in my PC.

Here is the code which was used to generate this image. Note that this program is written in Turbo C++ with graphics.h library. The mouse cursor is hidden while the display is being drawn. After drawing the cursor appears and then you can click on any point in the set which generates a julia set. This Julia set is even more intriguing and i have the faintest idea what this is all about.
Here is a snapshot of the Julia set:
  

After generating this Julia set you can do palette animation and it can create headache for the viewers. Choas theory has seen tremendous progress and i read in pop sci books that it has lead to advancements in human knowledge.
This is a new post on the same bloody thing implemented in C using OpenGL and also some code from some blog in JOGL . https://cglabprojects.blogspot.in/2017/11/mandelbrot-and-julia-set-in-opengl.html

7 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. I think you are not having library installed... can you run other graphics programs without errors...

    ReplyDelete
  4. Try changing initgraph parameters in main...

    ReplyDelete
    Replies
    1. Thankyou sir. It is working now. Just wanted to ask can you help me creating the set on mouse click ??

      Delete
    2. Which one madelbrot or julia... Actually it does that only click on the mandelbrot set and you will get another image that is julia set

      Delete
    3. Just have a look at the home page(newest post of nov,2017)... Is that what you wanted?

      Delete