Skip to content

driely01/fractol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fractol

Screen Shot 2023-08-09 at 4 42 34 PM Screen Shot 2023-08-09 at 4 42 54 PM

About the project

First thing you need to know what is fractal and their equations like mandelbrot set julia set burning ship and so on. the idea of this project is to draw a computer graphical fractal using mlx or minilibx minilibx 42 library link in Resources like Mandelbrot Set and julia Set and after that you can draw any fractal you want, the main idea is how to use the graphic library and learning about its functions and how they work.

Subject

https://cdn.intra.42.fr/pdf/pdf/93171/en.subject.pdf

Useful book

https://www.uaa.alaska.edu/depts/planetarium/_documents/fractalpacks-educatorsguide.pdf

Resources

  1. Mandelbrot Set: Check it out
  2. Julia Set: Check it out
  3. Burning Ship: Check it out
  4. Burning Ship: Check it out
  5. Fractal Equations: Check it out
  6. Minilibx: Check it out

Mandelbrot Set

Mandelbrot Set The term Mandelbrot set is used to refer both to a general class of fractal sets and to a particular instance of such a set. In general, a Mandelbrot set marks the set of points in the complex plane such that the corresponding Julia set is connected and not computable.

Screen Shot 2023-08-09 at 4 45 23 PM Screen Shot 2023-08-09 at 4 45 46 PM

Julia Set

Julia set fractals are normally generated by initializing a complex number z = x + yi where i2 = -1 and x and y are image pixel coordinates in the range of about -2 to 2. Then, z is repeatedly updated using: z = z2 + c where c is another complex number that gives a specific Julia set. After numerous iterations, if the magnitude of z is less than 2 we say that pixel is in the Julia set and color it accordingly. Performing this calculation for a whole grid of pixels gives a fractal image.

Screen Shot 2023-08-09 at 4 54 23 PM Screen Shot 2023-08-09 at 4 57 13 PM Screen Shot 2023-08-09 at 4 58 52 PM Screen Shot 2023-08-09 at 4 54 36 PM Screen Shot 2023-08-09 at 5 03 53 PM Screen Shot 2023-08-09 at 5 05 10 PM

Burning Ship

Burningship The Burning Ship Fractal is a slight variant on the Mandelbrot Set Fractal. The basic Mandelbrot Fractal formula is z=z^2+c. The Burning Ship Fractal formula is z=abs(z)^2+c.

Screen Shot 2023-08-09 at 4 50 59 PM Screen Shot 2023-08-09 at 4 51 13 PM

Magic Mandelbrot Set sinusoidal

check the following book to learn about Magic Mandelbrot Set

https://fractalfoundation.org/OFC/OFC-5-5.html
Screen Shot 2023-08-09 at 4 51 38 PM Screen Shot 2023-08-09 at 4 52 14 PM

Other Fractals

Screen Shot 2023-12-19 at 9 07 23 PM Screen Shot 2023-12-19 at 9 07 34 PM Screen Shot 2023-12-19 at 9 07 54 PM Screen Shot 2023-12-19 at 9 08 17 PM Screen Shot 2023-12-19 at 9 08 54 PM Screen Shot 2023-12-19 at 9 09 39 PM Screen Shot 2023-12-19 at 9 10 26 PM
mm.mov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published