The fireworks applet (new API)


The fireworks applet displays a number of fireworks rockets and animates them according to a set of user definable attributes. If you're not using a Java-supporting browser (e.g. HotJava) or Netscape 2.0, this page will be rather boring.

Supported actions

mouseDown()
applet is restarted

Supported tags

ROCKETS n
Number of rockets to animate (default 3)
POINTS n
Number of points in each rocket (default 3)
POINTSIZE n
Pixelsize of points (default 2)
LIFELENGTH n
Duration of rockets, counted in number of frames (default 100)
GRAV n
Gravity. Large value => rockets fall down fast (default 10)
DELAY n
Delay in milliseconds between frames (default 50)
(Warning: delay=0 consumes a lot of browser cpu time)
TRAIL n
Number of trailing points (default 10)
COLOR rrggbb
RGB hex triple for applet background (default browser background)
WIDTH n
Applet width in pixels (default tiny = browser default?)
HEIGHT n
Applet height in pixels (default tiny = browser default?)