Your Cart
Loading

HAPPY BIRTHDAY (Birthday Cake) · Full Python Source

On Sale
$2.99
$2.99
Added to cart

Free video

Want to send it to a friend on their birthday? Download the HAPPY BIRTHDAY video (MP4, 1080x1920) for free:

Download the free video

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.

Licence summary (please read before buying)

You may: run the artwork on your own computer · read and study the code · change it for your own personal experiments.

You may not: share, upload, re-post or redistribute the code or any modified version, free or paid · resell it · use it or its output commercially without written permission (ads, products, client work, monetised videos, NFTs, templates) · claim the artwork or the code as your own.

Posting a screen recording for fun is fine, please credit @jin_22ee. 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

You will get a ZIP (11KB) file