Skip to content

pdol9/fractal_renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a simple renderer for few fractals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published