Check out a Gallery of Images created by the Fractal Applet.
Copyright © 2000-2003 David
Leberknight - Anyone may use this code for any reason
at any time, provided that they give an appropriate reference to this
source,
and send David some email at <davesFirstName>@<davesLastName>.com(no
spam).
The code is developed using the Java
JDK version 1.1.6.
It will not work on some of the oldest Internet browsers.
You might want to UPGRADE
YOUR BROWSER.
The applet may be viewed at the following URL:
http://www.softwarefederation.com/fractal.html
Example HTML for applet:
< applet
CODE ="fractal.Fractal.class"
WIDTH = 800
HEIGHT = 600 >
< PARAM NAME = "ImageWidth" VALUE = 470 >
< PARAM NAME = "ImageHeight" VALUE = 470 >
< PARAM NAME = "NumColors" VALUE = 512 >
< /applet >
This code may be compiled and run as an Applet and/or an Application.
Here is an example command line for the Application version:
java fractal.Fractal -w 800 -h 800 -c 1024
To download and run the Application version of Fractal, click HERE.
The Java source code is all contained in the following files:
fractal.ControlPanel.java
fractal.Drawing.java
fractal.DrawingCanvas.java
fractal.FastColorsCalculator.java
fractal.Fractal.java
fractal.FractalCalculator.java
fractal.HelpDrawing.java
fractal.JuliaCalculator.java
fractal.JuliaDrawing.java
fractal.MandelbrotCalculator.java
fractal.utils.ComplexPoint.java
fractal.utils.ComplexRectangle.java
fractal.utils.IntWrapper.java
Following are some UML models of Fractal's object-oriented design...