This applet generates a simple fireworks display with up to ten explosions consisting of up to ten rays each at a time.
The original program just shot the rays out straight. I thought that was unrealistic so in this rewrite, I added a vertical adjustment to simulate gravity.