Skip to content

vinicius507/fract-ol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple, single-threaded, fractal visualizer.

Resources

License

Stars

Watchers

Forks