Skip to content

This repository contains a fractal visualization project implemented using the MiniLibX library. The goal of this project is to create an interactive program that allows users to explore various types of fractals in real-time.

License

armanmartirosyan/fractol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractol Project with MiniLibX Library

This repository contains a fractal visualization project implemented using the MiniLibX library. The goal of this project is to create an interactive program that allows users to explore various types of fractals in real-time.

Table of Contents

Introduction

Fractals are intricate geometric shapes that exhibit self-similarity and repeating patterns at different scales. This project aims to provide an interactive platform for visualizing various fractals, allowing users to zoom in, zoom out, and navigate around the fractal to observe its complex details.

The program is built using the MiniLibX library, which provides a basic set of graphical functions to interact with the X Window System. This makes it possible to create graphical interfaces, handle user input, and display images directly on the screen.

Features

  • Real-time rendering of multiple types of fractals.
  • Zoom in and out functionality to explore fractals in detail.
  • Pan the view to navigate around the fractal.
  • Color schemes to enhance visualization.
  • Interactive controls for user-friendly navigation.

Getting Started

Prerequisites

To build and run this project, you will need:

  • A UNIX-like operating system.
  • gcc or any compatible C compiler.
  • The MiniLibX library. You can find it here.
  • X11 development libraries.

Installation

  1. Clone the repository: git clone https://github.com/armanmartirosyan/fractol
  2. Build the project using the provided Makefile: make
  3. Run the game executable: ./fractol and fractol name (Mandelbrot, Julia, Burnunship)

Controls

  • Zoom In: Scroll up or press the + key.
  • Zoom Out: Scroll down or press the - key.
  • Change Color Scheme:
    • Increase Red: Press the r key.
    • Increase Green: Press the g key.
    • Increase Blue: Press the b key.
  • Move Fractol:
    • Move Left: Press the left arrow key.
    • Move Right: Press the right arrow key.
    • Move Up: Press the up arrow key.
    • Move Down: Press the down arrow key.
  • Zoom to Mouse Directions:
    • Scroll Up: Zoom in towards the mouse pointer.
    • Scroll Down: Zoom out away from the mouse pointer.
  • Exit Program: Press the ESC key or close the window.

License

This project is licensed under the MIT License.

About

This repository contains a fractal visualization project implemented using the MiniLibX library. The goal of this project is to create an interactive program that allows users to explore various types of fractals in real-time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published