Skip to content

APP:An SDL-based Mandelbrot viewer which uses CUDA to render zooms in realtime

License

Notifications You must be signed in to change notification settings

LeoXDXp/cuda-mandelbrot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

------------------------ CUDA MANDELBROT REALTIME ZOOM -------------------------

A simple Mandelbrot renderer built with CUDA. It splits the screen up into a
load of tiles 32 pixels by 16 pixels and hands each tile off to a CUDA thread
block. The algorithm generates 256 different colour values which are rendered in
SDL. It uses single-precision IEEE floats, so artifacts appear at extreme zoom
levels. It runs at about 50fps on my CUDA card, which is an old GeForce 9600 GT.
It's about a factor of ten faster than the equivalent CPU implementation.

Here's a video showing roughly what it looks like when it's running:

https://vimeo.com/55220974

About

APP:An SDL-based Mandelbrot viewer which uses CUDA to render zooms in realtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 63.8%
  • Cuda 29.8%
  • Makefile 6.4%