image thumbnail

Animate Happy Birthday

version 1.0.0 (1.67 KB) by Khalid Mahmood
This function displays a Flower (actually large size character) and a rotating marque message 'Happy Birthday' with changing colors.

20 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 (2021). 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!