Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.23 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.23 KB

Fractal renderer

Current status

-- Completed --

Description

This is a single threaded application written in C. It generates below listed fractals using a graphics library Minilibx, which provides a beginner-friendly C API to interact with the X11 system. Following fractals are available:

  • Mandelbrot set
  • Julia set
  • burning ship set

Installation

# move into necessary directory: either Linux or MacOS platform
cd linux_version
# or
cd macOS_version

Then run the following line to pull external library Minilibx repo

git submodule update --init --recursive

Finally, run make.

Usage

  • Start the program by choosing the type of fractal -[m/j/b] as a parameter.
./fractol -m
  • To move use W, A, S, D

  • To zoom in / out use mouse wheel or arrow key up / down

  • To change colors and sets, press ENTER and SPACE respectively.

  • To reset image press R.

Examples

Mandelbrot set
Mandelbrot set

Julia set
Julia set

Burning ship
Burning ship