Rotating Christmas Tree

A piece of code for plotting 3 Christmas trees with flashing lights and falling snowflakes.

You are now following this Submission

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 (2026). Rotating Christmas Tree (https://uk.mathworks.com/matlabcentral/fileexchange/103980-rotating-christmas-tree), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0