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!!

Comments

Let me know what you think here.




Published with MATLAB® 7.11

|
  • print
  • send email

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。