Skip to content

A Mandelbrot set explorer for iOS that takes advantage of the GPU.

Notifications You must be signed in to change notification settings

fnussber/ios-fractal-explorer

Repository files navigation

Fractal Explorer for iOS

A simple Mandelbrot set explorer for iOS that takes advantage of the GPU using the Xamarin framework for iOS. The basic idea was to implement a calculation pipeline that continually refines the results from a previous calculation step and displays the intermediate results to give a visual feedback of how the calculation progresses. Because my iPad2 only supports OpenGL ES 2.0 I was restricted to using this older version instead of 3.0. Before the actual iterations are calculated, a preview with a low resolution (8x8 pixels) is calculated and then used to render those pixels for which no precise results are available yet.

A good Mandelbrot set explorer gets pretty involved quickly, for example if you want to get the precision right for high zoom levels and reuse results when zooming and scrolling (like e.g. Fractile Plus does). In comparison, this application is very bare bones.

I am sure there is a lot that could be done to optimize this code, but the main goal was to experiment with a calculation pipeline that uses the GPU in order to get an idea how this could be applied to other problems.

Screenshot

alt text

Demo Video

See a demo video on youtube.

Credits

Some of the more general OpenGL functionality is based on this code.

About

A Mandelbrot set explorer for iOS that takes advantage of the GPU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages