Let it snow: falling snow on every figure!

버전 1.2.0.0 (2.95 KB) 작성자: Mingjing Zhang
Amazing falling snow effect for your MATLAB figure. Suitable for Holidays.
다운로드 수: 1.3K
업데이트 날짜: 2013/1/2

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

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

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

will happen). However, this implementation does not include the frosty window effect 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!

인용 양식

Mingjing Zhang (2024). Let it snow: falling snow on every figure! (https://www.mathworks.com/matlabcentral/fileexchange/34349-let-it-snow-falling-snow-on-every-figure), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Christmas / Winter에 대해 자세히 알아보기
도움

받음: A christmas tree plot

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Fixed the improperly displayed snowflakes in MATLAB R2012b.

1.0.0.0