Your Cart
Loading

BUTTERFLY · Full Python Source

On Sale
$4.99
$4.99
Added to cart

BUTTERFLY · Full Python Source

The complete, runnable Python source code of the ASCII artwork "BUTTERFLY". Run one file and a hairline crack appears in the dark. It is hit again and again, the cracks spread, pieces of glass fall away, and butterflies squeeze out of the hole and fly off, some close, some far, leaving glitter behind. Everything is made only of letters, numbers and symbols.

The preview above is butterfly.py running live on a computer.

What's included

  • butterfly.py: the complete source code of the animation (one file)
  • README: setup guide, install and run in three steps
  • HOW_IT_WORKS: how the cracks, the falling glass and the butterflies are made, step by step
  • Licence

Requirements

  • Python 3 with two libraries: numpy and pygame-ce (one install command)
  • Tested on: Windows 11 + Python 3.13
  • Expected to work, not tested yet: Python 3.10 to 3.12, macOS, Linux
  • Uses several CPU cores to run smoothly; on older computers it may play slower

Price and support

The same code is free on my GitHub. Buying it here is a way to support my work.

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: repost the code or a changed version of it as your own · post videos made from it as your own artwork · resell it, or use it or its output commercially without permission · use it to train AI models.

If you post something you made with it, a credit to @jin_22ee is appreciated. If you see this code or the 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 (about 15 KB)

JIN2 · creative coding artist · Instagram @jin_22ee

You will get a ZIP (14KB) file