Rotating Christmas Tree

Version 1.0.0 (4.04 KB) by Hanchu Wang
A piece of code for plotting 3 Christmas trees with flashing lights and falling snowflakes.
237 Downloads
Updated 22 Dec 2021

View License

This code plots 3 Christmas trees with flashing lights and falling snowflakes. christmas tree video will automatically save on the folder where this code is saved.
treetype = 1, 2, 3
FM = 0=>static; FM = 1=>dynamic
txt: any text, example: txt='Merry Christmas!'
christmasTree(treetype, FM, txt)
christmasTree(treetype, FM)
christmasTree(treetype)

Cite As

Hanchu Wang (2024). Rotating Christmas Tree (https://www.mathworks.com/matlabcentral/fileexchange/103980-rotating-christmas-tree), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0