Here's pretty simulation of fireworks exploding using some trigonometry. This applet is rather large, so I put it on a separate page. Also, you need a fairly high resolution to view the whole applet on your screen, so I apologize in advance if this one is a pain to look at.

Launch shells by clicking on the type of shell you wish to launch in the list at the bottom of the applet and move the launch slider to something greater than 0. You can select multiple types of shells by holding down the shift key and clicking on the shells you want.

As I said all the patterns for each type of shell are mathematically calculated with trigonometry and some such craziness. At some point I'll document the math used for each shell.

Click Here to run the fireworks applet.

Types of Shells