/fractol

This project is meant to create graphically beautiful fractals

Primary LanguageC

Fractol

This project is meant to create graphically beautiful fractals

Description

In mathematics  fractal is a term used to describe geometric shapes containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension.

burning_ship

Project

Implemented fractals:

  1. Julia
  2. Mandelbrot
  3. Burning ship

Usage

Installation

git clone https://github.com/zurag/fractol.git
&& cd fractol && make

Program arguments

./fractol [fractal_name]

Avalible fractal_name:

  • julia
  • mandelbrot
  • burning_ship

Keys

  •  - Turn up

  •  - Turn down

  •  - Turn left

  •  - Turn right

  • q - add iteration

  • w - delete iteration

  • 1 - 6 - numbers from 1 to 6 change color

  • Mouse Scroll - zooming

  • Mouse position - julia changes views with mouse position

  • Esc - Exit program

Examples

Screen Shot 2022-06-23 at 7 07 01 PM

Screen Shot 2022-06-23 at 8 08 32 PM

Screen Shot 2022-06-23 at 8 09 54 PM