Skip to content

Elegant patterns from simple formulas - funny how nature do that

Notifications You must be signed in to change notification settings

dgaitsgo/gpuFractals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screen shot

Fractals are magnificent self-similar patterns who reveal the inner dimensions of 1-dimensional shapes. Here we render them on the GPU for speed and precision to explore those patterns to deeper depths.

Compatability

This has been tested on OS X 10.9.5 to 10.10.5.

You'll need to install SDL2

Launch codes

$>make
$>./fractal [mandelbrot][newton][julia]

Let's explore

As you can see above, you can render three different fractal patterns: mandelbrot, newton and julia. Zoom all the way out on newton. It's wild.

Zoom

+ - zoom in

- zoom out

Move around

Increase precision

Not all macs between 2013 and now support double precision in OpenCL kernels. It's worth finding out if yours does because you can go deeper into the fractals with more details.

$> sh adjustPrecision.sh double

If it doesn't work, switch back:

$> sh adjustPrecision.sh float

About

Elegant patterns from simple formulas - funny how nature do that

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published