Animate Happy Birthday

This function displays a Flower (actually large size character) and a rotating marque message 'Happy Birthday' with changing colors.
168 Downloads
Updated 30 Apr 2021

View License

This function displays a Flower (actually large size character) and a rotating marque message 'Happy Birthday' with changing colors. Colors are changed in a while loop. Message and flower can be changed via input arguments. Color change speed can also be modified by changing (t2-t1)/1e7>.25 to like (t2-t1)/1e7>.5 for slower change.
Inspired by:
https://www.mathworks.com/matlabcentral/discussions/highlights/134287-happy-st-patrick-s-day-simple-emoticon-animation-demo.

Cite As

Khalid Mahmood (2024). Animate Happy Birthday (https://www.mathworks.com/matlabcentral/fileexchange/91380-animate-happy-birthday), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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