Skip to content

A C++/Cuda accelerated Fractal Renderer! Contains 6 fractals.

Notifications You must be signed in to change notification settings

pr1nceray/Fractal-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractal-Viewer

My first (public) project that renders multiple fractals using GPU acceleration.

This was my first project in cuda, so it is very rough around the edges. It was developed to learn how basic cuda kernelss work and to learn about Computer Graphics.

if you want to render it using precise mode, change the variable "precise" to be true in Viewer.cuh. To change the color, edit the color under Newtons.cuh according ti this.

General Controls :

Controls : Use Mouse Wheel to control the zoom. CLick and Drag to move the fractal around.

Press P to take a screenshot.

Fractal Controls :

Number 1 - Mandelbrot set

Colored Rendering of the MandelBrot Set

MandelBrot Non Zoom

MandelBrot Zoomed

Numbers 2/3 - Julia Set

2 Renderings of the Julia Set

One is where the real/complex portion is 1 - golden ration, while the other is c = −0.8 + 0.156i.

Julia set Non Animated

Number 4 - Animated Julia Set

Controls : Press L To pause animation, M To reverse animation, and hold Left Shift to slow it down.

A rendering for the julia set where the complex portion is 0.7885e^ia, where a goes from 0-2pi.

Preview :

Animated Julia Set Gif

Full Version :

Animated Julia set

Number 5 - Tri Colored Newton Fractal

Newton Fractal that is colored based on which of the three roots it reaches for p(z) = z^3 -1, based on newtons method.

TriColor

Number 6 - Newtons Fractal

Fractal that took the longest; it is a Newton fractal that is colored by the amount of loops it takes until it reaches a root.

The formula used is p(z) = z5*Sin(Z) - 1, with a = 1.

Newton Fractal

About

A C++/Cuda accelerated Fractal Renderer! Contains 6 fractals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published