Skip to content

nihuynh/fractol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fractol


Top

How to install

On mac, this command will built an app bundle:

git clone https://github.com/nihuynh/fractol && cd fractol
make built && open build

Summary

This is a fractal render program written in C.

This project is done during 42 graphic branch to learn about optimisation and computer graphics.

Built and tested on mac OSX 10.

There is 6 fractals implemented :

  • Mandelbrot
  • Julia
  • Burning ship
  • Burning julia
  • personal discover
  • personal discover julia edition

Feature list :

  • 6 type of fractal.
  • Multi-threading
  • Zoom on the mouse position.
  • Multiple palette of colors.
  • Partial render when the iteration count increase (Or decrease).

How to use

Keymap :

ESC | Quit the program

123456 | Select the fractal

ARROWS | Translate

P | Change the color palette

spacebar Lock/unlock the mouse on the fractal 2, 4, 6

R increase ITERATION decrease F

R increase ITERATION (Small steps) decrease F

Q in ZOOM out E


Credits :

  • Thanks to skeeto for the advices on multi-threading. Check his awesome blog at nullprogram.com.

Wish list features :

Licence:

This repository is under no license.