cudafractals is a CUDA-powered fractal renderer that showcases the beauty and computational efficiency of GPU-accelerated Mandelbrot set visualization. This project uses OpenGL and CUDA interop to dynamically generate fractal images with infinite zoom and smooth panning capabilities. The rendering leverages GPU parallelism for real-time performance.
- Real-time Mandelbrot fractal rendering.
- "Infinite" zoom with double-precision calculations.
- Customizable resolution and interaction.
To build and run this project, ensure the following dependencies are installed:
- NVIDIA GPU with CUDA Compute Capability 3.0 or higher.
- CUDA Toolkit (version 10.1 or later)
- CMake (minimum version 3.27)
- OpenGL, GLUT, and GLEW libraries
- A C++17-compatible compiler
sudo apt update && sudo apt install -y build-essential cmake freeglut3-dev libglew-dev
-
Clone the repository:
git clone https://github.com/leoforney/cuda_fractal_render cd cudafractals
-
Create a build directory and navigate into it:
mkdir build && cd build
-
Run CMake to configure the project:
cmake ..
-
Build the project:
make
Once the build process is complete, you can run the program:
./cudafractals
- Zoom In/Out: Use the mouse wheel to zoom in and out.
This project is licensed under the MIT License. Feel free to use, modify, and distribute as needed.