Skip to content

A project focused on creating a program that generates and visualizes various fractals using parallel processing and graphical libraries.

Notifications You must be signed in to change notification settings

gkrusta/fractol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractol - Fractal Visualization Program

Fractol is a program for visualizing various fractal sets, including Mandelbrot, Julia, and Burning Ship sets. It allows you to explore these fascinating mathematical structures and observe their intricate patterns and details.

Usage

To run the Fractol program, follow these steps:

  1. Clone the repository:

git clone https://github.com/gkrusta/fractol.git

  1. Compile the program:

make

  1. Run the program with the desired fractal set:

./fractol <fractal_set> [optional_arguments]

Available fractal sets:

  • 1: Mandelbrot
  • 2: Julia
  • 3: Burning Ship

For the Julia set, you can provide additional arguments for customizing the layout:

./fractol 2 <c_real> <c_imag>

  • <c_real>: Real part of the constant c for the Julia set
  • <c_imag>: Imaginary part of the constant c for the Julia set

Controls

Use the following keyboard commands to interact with the program:

  • Arrow keys: Move the fractal
  • Scroll wheel: Zoom in and out
  • I/O keys: Increase/decrease zoom at the center only
  • U/D keys: Increase/decrease iterations
  • 1/2/3 keys: Change color set
  • 4/5/6/7 keys (only for Julia): Change Julia layout
  • Space key: Reset to default state
  • Esc key: Quit the program

Examples

  • To show the Mandelbrot set:

./fractol 1

  • To show the Julia set:

./fractol 2 <c_real> <c_imag>

  • To show the Burning Ship set:

./fractol 3

Images

Mandelbrot Set Zoomed

Mandelbrot Set

Mandelbrot Set

Mandelbrot Set

Julia Set

Julia Set

Customized Julia Set

Customized Julia Set

Burning Ship Set

Burning Ship Set

Stuff and sources I used

About

A project focused on creating a program that generates and visualizes various fractals using parallel processing and graphical libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published