HAPPY BIRTHDAY (Birthday Cake) · Full Python Source
Free video
Want to send it to a friend on their birthday? Download the HAPPY BIRTHDAY video (MP4, 1080x1920) for free:
Free for personal use and sharing with credit to @jin_22ee. Not for resale or commercial use.
Want to run it yourself? The full Python source is below.
The complete, runnable Python source code of the ASCII artwork "HAPPY BIRTHDAY (Birthday Cake)". Run one file and a slice of birthday cake builds itself on your screen: the candle lights up, its warm glow flickers across the cake, confetti falls, and HAPPY BIRTHDAY pops in above, made only of letters, numbers and symbols.
The preview above is birthday_cake.py running live on a computer.
What's included
- birthday_cake.py: the complete source code of the animation (one file)
- README: setup guide, install and run in three steps
- HOW_IT_WORKS: how the cake, the candle light, the confetti and the letters are made, step by step
- LICENSE: personal-use licence
Requirements
- Python 3 with three libraries: numpy, pygame-ce and pillow (one install command)
- Tested on: Windows 11 + Python 3.13
- Expected to work, not tested yet: Python 3.10 to 3.12, macOS, Linux
- On macOS or Linux the HAPPY BIRTHDAY letters use a similar heavy font, so their shape may look slightly different.
How you can use it
Study it, change it, and use what you learn to make your own ASCII art.
Please don't: repost this code, or a big part of it, as your own · post my artwork (videos or images) as your own · sell it, or use it commercially without my permission · use it to train AI models.
A credit to @jin_22ee is always appreciated. If you see my code or artwork posted as someone else's, please report it and let me know. The full terms are in LICENSE.txt inside the download.
All sales are final. Because this is an instant digital download, refunds are not available.
Digital download · instant delivery · ZIP
JIN2 · creative coding artist · Instagram @jin_22ee