Skip to content

A program that generates the various fractals using mouse position as parameter in complex plane

Notifications You must be signed in to change notification settings

conanwu777/fractals

Repository files navigation

fractals

A program that generates the various fractals using mouse position as parameter in complex plane

This is a project of the graphics branch of 42, written in C.

alt text

Features

  • Dynamically displays complex fractols based on mouse hovering position as parameter
  • Multiple preset color schemes & full rgb color adjustment with keyboard input
  • Zoom (almost infinitly) with mousewheel, centereed at the mouse position
  • Adjustment of number of iterations to compute and escape redius
  • Hide and diaplay info on screen

Compiling and running

Run make. An executable will compile. Currently only tested on OS X.

Run with ./fractol "Name of Fractal".

Supported fractals:

  1. Julia set of

  2. Mandelbrot set where

  3. Julia set of (known to be topologically a Sirpinski's carpet with appropoate parameter)

  4. Julia set of (resembles the Poincare metric when |c| is close to 1)

  5. Julia set of

  6. Standard square julia set where we also cut-off when iterates of points gets close to 0. (hence forming different shaded dots inside the connected components of the filled Julis set)

alt text alt text alt text alt text alt text alt text alt text alt text

About

A program that generates the various fractals using mouse position as parameter in complex plane

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published