Java Tutorial: Animated Mandelbrot fractal applet - Part 8

Posted in Development on December 21, 2006


Java Tutorial: Animated Mandelbrot fractal applet - Part 8
Half of creating a nice interactive applet is ensuring that things at least appear to be happening. So rather than rendering the entire Mandelbrot fractal in one go, John demonstrates how it can be rendered in parts. John uses a 'dissolve' to bring in the Mandelbrot as it is rendered. There is also a nice example here of the difference in performance that can occur by choosing a suitable data structure - first John uses an ArrayList but the 'remove' method proves to be slow, then John uses a LinkedList which is clearly much faster. Note - John refers to using a 'cross fade' in this video, this is an error and the fade is really a 'dissolve'.

Watch Video

Tags: Java, ShowMeDo