Code covered by the BSD License  

Highlights from
Let it snow: falling snow on every figure!

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 2.91 KB File ID: #34349
image thumbnail

Let it snow: falling snow on every figure!

by Mingjing Zhang

 

24 Dec 2011

Amazing falling snow effect for your MATLAB figure. Suitable for Holidays.

| Watch this File

File Information
Description

This submission was inspired by the google 'let it snow' effect (for those who

don't already know this, try search 'let it snow' with google and see what

will happen). However, this implementation does not include the frost part as

seen in the google version, since I really can't make the rendering fast

enough for MATLAB.

How to use:
-----------
Type 'letitsnow' and snow will fall on your CURRENT figure. If no figure

exists, an empty one will be created.

You can also use 'letitsnow(figure_hdl, color)' to specify in which figure the

snow should appear and what color the snow is.

Use 'help letitsnow' for more information

How to stop the snow:
--------------
Press 's' key on the figure or close the figure.

Note:
--------------
The falling snow animation runs in a 'non-blocking' way. That is, you can run

other scripts while the snow is falling.

It is also possible to make multiple figures snow at the same time.

This function works regardless of the content of the figure. So you can draw

a christmas tree and then run letitsnow for more christmas festivity. For a

good christmas tree plot, look at submission #22478 by Anselm.

-----
Happy Holidays!

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
A christmas tree plot

MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
08 Jan 2012 hamada zaier

like

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
holiday Mingjing Zhang 27 Dec 2011 08:38:22
christmas Mingjing Zhang 27 Dec 2011 08:38:22
xmas Mingjing Zhang 27 Dec 2011 08:38:22
eve Mingjing Zhang 27 Dec 2011 08:38:22
happy Mingjing Zhang 27 Dec 2011 08:38:22
merry Mingjing Zhang 27 Dec 2011 08:38:22
new year Mingjing Zhang 27 Dec 2011 08:38:22
gui Mingjing Zhang 27 Dec 2011 08:38:22
snow Mingjing Zhang 27 Dec 2011 08:38:22
let it snow Mingjing Zhang 27 Dec 2011 08:38:22
timer Mingjing Zhang 27 Dec 2011 08:38:22
callback Mingjing Zhang 27 Dec 2011 08:38:22
plot Mingjing Zhang 27 Dec 2011 08:38:22

Contact us at files@mathworks.com