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.
Stylus (Tap) - Start recalculating a new image
Stylus (Tap x2) - Zoom in 2x
Stylus (Tap x5) - The second image
L/R - Zoom out
Start - Reset the program to the initial setting