Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.44 KB

README.md

File metadata and controls

40 lines (22 loc) · 1.44 KB

Fract-ol

This program takes as it's input the kind of fractal the user wishes to see, either julia or mandelbrot set and renders it in a window. The program uses an external library called mini libx for mac to render images, pixels, or strings on the window. Julia sets could be drawn using the starting points the user passes as arguments. Find the link to mini libx git repo below.

julia_3

When the image is rendered mouse could zoom, clicking on the window would draw a different julia set starting from the point that was clicked on. The makefile makes everything.

mandelbrot_zoom

Usage

First, go to the root of your repository, which is where we can find your Makefile git clone and do:

-make

To see julia set give random values, here's an example:

-./fractol julia -0.65 -0.45

Please not that the external mini libx library is for mac and so it won't work on windows or linux.

References

To do this project I used many resources to learn about fractals and inspirations for the algorithem, links for which could be found below: