Hypersonic Fractals

This Java applet calculates fractal pictures like the Mandelbrot set:

Here you have the same applet again, but with a bigger picture. This one is not yet running to save memory:

Help

Big Resolution There are two instances of this applet, one with 256x256 and a big one with 512x512 points resolution. To save memory (2.5 MB), the big version first don't start. If you want to use the big version, just click once with your mouse on the 'Click here to Start'.
Zoom in Just click on the picture.
Save a picture Now there is no special 'Save as' button. But with Windows, you can do this: Press [Print Screen]; open 'Paint' or some other painting program, [Edit] [Paste]. Then you can remove the borders save the picture.

Control Panel

Element Description Command
Main    
3D Switch on/off 3D view. 3d=
> 3D-Settings Go to the 3D-Page.  
> Colors Go to the Colors-Page.  
> Settings Go to the Settings-Page.  
Fractal Type Select the M-Set-formula. type=0 - 5
Julia-Set For each M-Set-Type there are J-Sets available. If you switch this option on, you can 'index' the M-Set, and if you click somewhere on the picture, you will see the J-Set. Here you can also zoom. To go back to the M-Set switch off 'Julia-Set'. julia=0, 1
Go Back Zoom out one step. size*2
Go Home Zoom out to the start. gohome
Automatic The applet zooms on his own. autozoom
Animations Switch on/off the zoom-animation. zoom=0, 1
3D-Settings    
Direction Select Hills or Valleys. updown=0, 1
Factor The height of the hills/valleys. factor=
View angle From where you want to look. angle=
Damping Makes the hills/valleys 'smoother'. damping=0, 1; damp=
Limit Sets the height limit for the hills/valleys. limiting=0, 1; limit=
Colors    
Presets Some default-color schemes are available. rm=, ra=, gm=, ga=, bm=, ba=
Red, Green, Blue <*,*>> Increment / Decrement the factor. rm+, gm+, bm+
Red, Green, Blue <+, +>> Increment / Decrement the offset. ra+, ga+, ba+
Settings    
Command Here you can write a direct command. In the last column of this description you can see the commands, for example '3d=1' will set the 3D-View on. You put more than one command when you use ';' in between.  
Send Apply the command you wrote.  
Current State The current states of the picture. You can copy this state, put it in a text-editor; later, you can paste this command into the Command-Line and send it.  
Depth How deep the program has to calculate. depth+, depth=
Autodepth The program detects the depth automatically. If switched on, the depth (see above) has no effect. autodepth=0, 1
Always Calc If you switch this on, then the applet calculates all points when the mouse is not over the picture. always=1, 1

Technical Information / Copyright

What makes this applet fast? 1) Only about 10% of a picture is really calculate. 2) If you zoom, the points that where already calculated are re-used for the new picture. The formulas of all fractal types except 'Mandelbrot' I have stolen from FractInt. FractInt is a freeware program for PC's and has a lot of additional fractal types. The applet is tested with Netscape Navigator, Sun Hotjava Browser and Microsoft Internet Explorer. If something don't work on your machine please inform me. Like other freeware products, this applet is protected by copyright, so nobody else can use the code to make the big money. If somebody want to use the pictures or the code commercally he should contact me. I'm not responsible for any damange generated by using this applet.


Links


Sourecode

Here is the sourcecode:

ChTmMandel.java

Included is some example how to use integer arithmetics instead of floating point (this don't help much in Java, but it helps for a native version). It would be nice if other programmers could improve this applet, like FractInt. For now, just mail me back your code, and I will decide if I will include it; this method will change if it's getting too big. Now, the sourceode is 29 KB, FractInt is at about 4 MB!