Skip to content

Ce projet consiste à créer graphiquement de jolies fractales.

Notifications You must be signed in to change notification settings

riceset/fract-ol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fract’ol

Fract'ol fract-ol 42 project badge

Summary

One of the first graphical projects at 42 school, fract-ol generates beautiful fractals from the complex numbers of an iterative mathematical construct. A fractal is a fragmented geometrical figure that infinitely repeats itself at smaller scales. This project uses the school's graphical library, MiniLibX.

Getting started

First, clone this repository and cd into it:

$ git clone https://github.com/riceset/fract-ol; cd fract-ol

Compile using make:

make

Executing Fract-ol

At execution time, you must specify a fractal to display. You may also provide other optional parameters:

./fractol <type> <options>

Types are :

  • mandelbrot: Mandelbrot fractal
  • julia: Julia fractal

For the Julia fractal set (and only this set), two additional parameters can be specified as calculation values. These represent a complex number that will change the shape of the Julia fractal. They must be fractional numbers between 2.0 and -2.0. For example:

./fractol julia 0.285 -0.01

Mandelbrot set

image image

Julia set

image image

About

Ce projet consiste à créer graphiquement de jolies fractales.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published