Mandelbrot Set Explorer
From GameBrew - a wiki dedicated to Video Game Homebrew.
|Mandelbrot Set Explorer|
|Version||09 January 2012|
A Mandelbrot generator for Nintendo DS.
The program starts showing a small area around the origin: from (-2.5,-1.5) to (+1.5,+1.5)... this gives the first image.
It does not feature a superscalar quadcore 2GHz+ processor. It only has a 67 MHz ARM946E, which also has no floating point unit at all, so each operation on floating point variables doesn't turn into a single (co)processor opcode, but into a series of integer operation.
So, to keep the image generation time acceptable, the number of maximum iterations of the aforementioned algorithm (actually to a very small value: 32)is limited. It is opt for single precision floating point variables, the fastest choice available.
Mainly controls with Stylus.
- Tap - start recalculating a new image
- Tap x2 - zoom in 2x
- Tap x5 - the second image
L/R - zoom out
Start - reset the program to the initial setting