
Mandelbrot Set Java Applet This Java applet will generate a Mandelbrot set. Web authors can use this applet to generate Mandelbrot sets directly on their web pages.
Please see Fantastic Fractals for more information.
This is an example of using the Mandelbrot Set applet. The fractal generated will be the default Mandelbrot Set fractal.
The following buttons are suggested controls to be placed along with this applet.
You can use the following parameters in the APPLET tag for this applet.
width=pixels
Specifies the width of the applet in pixels.
height=pixels
Specifies the height of the applet in pixels.
start=true/false
Tells the applet to start running when it loads.
changes=true/false
Specifies whether to allow the user to zoom in/out.
left=number
Specifies the lower bound on x.
top=number
Specifies the upper bound on y.
right=number
Specifies the upper bound on x.
bottom=number
Specifies the lower bound on y.
z1=number
Specifies the coefficient of z.
z2=number
Specifies the coefficient of z-squared.
z3=number
Specifies the coefficient of z-cubed.
c_re=number
Specifies the real component of the constant (c).
c_re=number
Specifies the imaginary component of the constant (c).
You can use the following functions to control this applet using web scripting.
String getAppletInfo ()
Returns the applet version information.
void ResizeWnd (int width, int height)
Resizes the applet to the specified dimensions.
void StartThread ()
Starts the generation (which is running in a thread).
void StopThread ()
Stops the generation (which is running in a thread).
void DefaultCoeff ()
Loads the default coefficients.
void Defaults ()
Loads the default settings.
void DefaultZoom ()
Resets the zoom to defaults.
boolean SetBounds (double l, double t, double r, double b)
Sets the bounds (returns false if unsuccessful).
boolean SetCoeff (double z1, double z2, double z3, double c_re, double c_im)
Sets the coefficients (returns false if unsuccessful).
void ZoomIn ()
Zooms in by a factor of 4.
void ZoomOut ()
Zooms out by a factor of 4.
| Product Name: | Fantastic Fractals |
| Product Version: | 7.0.0.0 |
| Product Author: | John Sheu |
| Component Name: | Mandelbrot Set Java Applet |
| Build Version: | 7.0.3.6 |