File Exchange Pick of the Week

Our best user submissions

Fireworks for the New Year!

Jiro's pick this week is his very own Fireworks GUI.

Regardless of what you are celebrating this time of the year, it seems like fireworks are a common event that many people enjoy on New Year's Day (or New Year's Eve). If you are unable to see any in person or are tired of seeing ones on the television, here's something for you to enjoy in the comfort of your own computer and MATLAB!

I made this using the MATLAB Classes (requires R2008a or newer), where each fireworks is an object. The fireworks object can have a number of input parameters, such as launch location, launch speed, fireworks type, and number of petals. I also created a number of presets that perform various combination fireworks. And finally, I created a GUI where you can interactively launch fireworks, enable demo mode, create movies (AVI or animated GIF), and turn on sounds. Yes, it has sounds.

Download it, maximize the window, turn off the lights, and enjoy!

Have a happy new year!!


Let me know what you think here.

Published with MATLAB® 7.11

  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.