Word ShapeMotion · ZainSpire ← Library

Text art · terminal print · your own word

Your word.
Any shape.

Type a name, a brand or a feeling. It gets printed line by line, the way a terminal prints, until the letters form a heart, a butterfly, a flower or the ZS logo. Then a soft shimmer runs through it. Save it as an image and send it to someone.

python word_shape.py --shape heart
HTML · CSS · JavaScript · no librariesDownload the code ↓

How the shape is found

Draw, then read back

Each shape is drawn once on a small hidden canvas: the heart and butterfly from their math curves, the flower from petals, the logo from type. Then every character cell checks one pixel to see if it sits inside the shape.

How it prints

Row by row, like a terminal

Rows are revealed from top to bottom, a few characters at a time, with a block cursor at the end of the line. When printing ends, a gentle wave of brightness keeps moving through the letters.

Make it yours

Any word, any shape

Type up to 20 characters, pick a shape, and press Print. Save image gives you a PNG to share. The code is one HTML file you can download below.