
IFS Fractal Java Applet This Java applet will generate an Iterated Function System fractal. Web authors can use this applet to generate IFS fractals directly on their web pages.
Please see Fantastic Fractals for more information.
Sample
This is an example of using the IFS Java applet. The fractal generated will be a colored spiral.
There are no suggested web form elements for this applet. The applet should be used to generate fractals dynamically. It is difficult to allow for user interaction 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.
iterations=number
Specifies the number of iterations.
border=color (#rrggbb)
Specifies the color of the border.
bkgrd=color (#rrggbb)
Specifies the color of the background.
defframe=color (#rrggbb)
Specifies the color of the default frame.
samecolor=true/false
Specifies whether to use the default color while running.
showframes=true/false
Specifies whether to show the frames while running.
frames=number of frames;vertex(x);vertex(y);vector1(x);vector1(y);vector2(x);vector2(y);color (#rrggbb);ignore color (true/false); ...
Specifies the frame properties. Use the Export Parameters function in Fantastic Fractals 98 to create an HTML file that contains the parameters for your fractal.
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 UpdateAll ()
Refreshs the applet's display.
void SetFrames (String newframes)
Sets the frames. Use the same syntax as the FRAMES parameter (shown above).
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: | IFS Java Applet |
| Build Version: | 7.0.3.6 |