
Chaos Game Java Applet This Java applet will simulate the chaos game. Web authors can use this applet to demonstrate the chaos game directly on their web pages.
Please see Fantastic Fractals for more information.
This is an example of using the Chaos Game Java applet. Click three times on the applet to set each point. Then use the buttons below to control it. See Fantastic Fractals for more information about the chaos game and how to use it.
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.
iterations=number
Specifies the number of iterations.
vertices=color (#rrggbb)
Specifies the color of the vertices.
bkgrd=color (#rrggbb)
Specifies the color of the background.
points=color (#rrggbb)
Specifies the color of the points.
npoints=number
Specifies the number of points.
szvertice=pixesls
Specifies the size of the vertices.
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 Reset ()
Resets the applet to its original state.
void Step (int index)
Moves towards the point given by the index.
boolean IsRunning ()
Returns true if the applet is currently running.
| Product Name: | Fantastic Fractals |
| Product Version: | 7.0.0.0 |
| Product Author: | John Sheu |
| Component Name: | Chaos Game Java Applet |
| Build Version: | 7.0.3.6 |