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.
引用格式
Khalid Mahmood (2024). Animate Happy Birthday (https://www.mathworks.com/matlabcentral/fileexchange/91380-animate-happy-birthday), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |