Mandelbrot set as Java Applet

mandelbrotapplet.png
As I passed my first Java course last week (everybody begins slowly...) here's my first little Java toy: An Applet which draws a mandelbrot set and let you zoom in by selecting an area to look closer at.

http://southbrain.com/mandel.html

You'll need at least Java 5 from Sun and a Java plugin capable Browser. Beware, it has bugs and does not use seperate threads for calculation at this moment. It's a first try.

To select an area to zoom in, drag the mouse while clicking on the left mouse button. To cancel the selection, just click once without moving the mouse.

Click on "Recalculate" to compute the new image. It may take some time, especially if many members of the set (black pixels) are on the image. The maximum of iterations increases with every zoom you make.
mandelbrotausschnitt.png
By clicking on "Restart" you will get the initial region again. The selection is still active, so by hitting "Recalculate" you will be warped back to your last image.

The applet has many bugs so don't hit my knees if it does not work well for you...

Enjoy.

0 TrackBacks

Listed below are links to blogs that reference this entry: Mandelbrot set as Java Applet.

TrackBack URL for this entry: http://southbrain.com/mt/mt-tb.cgi/73

December 2015

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

About

This blog is owned by:

Pascal Gienger
J├Ągerstrasse 77
8406 Winterthur
Switzerland


Google+: Profile
YouTube Channel: pascalgienger