Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.9 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.9 KB

OS Language Grade Status

Fract-ol

build norminette

This repository contains my submission to the Fract-ol project for 42 School. It provides a (single-threaded) fractal visualizer with ok performance.

Some visualizations from the Fractol Program

Introduction

The fractol program provides visualization of the following fractals:

  • Mandelbrot Set
  • Julia Set (parametrized)
  • Mandelbar Set

Usage

To use the fractol program, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the repository's root directory.
  3. Run make to compile the library.

A compiled binary named fractol will be generated.

$ ./fractol --help
Usage: ./fractol FRACTAL [FRACTAL_OPTIONS]

Available fractals are: Mandelbrot, Julia, Mandelbar

Some fractals require options to work:
	Julia	Receives a complex number in the following form: 0.0+0.0i

Controls

You can control the fractol program by using the following keybindings:

  • Navigate the fractal using WASD or arrow keys.
  • Zoom in or out from the fractal using the mouse wheel.
  • Restore the viewport using the R key.
  • Q or ESQ to exit the program.