Turning poems into generative art

Turning poems into generative art

TIMELINE

May 2026

PURPOSE

Side Project

TOOLS

Cursor

Figma

WEBSITE

TIMELINE

May 2026

TOOLS

Cursor

Figma

PURPOSE

Side Project

WEBSITE

Overview

This project is a generative art tool designed to bridge the gap between poetry and visual form. Inspired by the legacy of typewriter art and the history of visual poetry, this tool creates generative art from poems using each letter in the text as a pixel.

Background

I write poetry and often pair the poems with simple images like flowers or butterflies. I wanted a way to turn the words themselves into those images so the poem could also work as its own thumbnail, and I was exploring two different art forms involving poetry and text: concrete poetry and typewriter art.

Concrete poetry treats the visual arrangement of words as part of the meaning. Letters and lines are placed so the shape of the text forms the subject of the poem rather than describing it.

Typewriter art works differently. It uses the fixed grid of a typewriter to build pictures by repeating individual characters, creating density and tone through the placement of letters instead of continuous lines. This is not the same as ASCII art, which relies on a broader set of symbols and spacing to approximate images in monospaced digital text.

I built Visual Poetry that follows the same idea. It takes the text of a poem and places the letters so they form a shape, producing a single image that holds both the poem and the object it is associated with.

Features
  • Paste a poem and upload a reference image.

  • Adjust text size, line height, zoom, and colors with a live preview.

  • Keep your in-progress poem, uploaded image, colors, and render/export settings when refreshing the page.

  • Export artwork as PNG, JPG, or GIF at 1x, 2x, or 4x.

  • Export a 2-second GIF of the letter-by-letter reveal animation.

Tech Stack
  • Next.js (React)

  • Pretext (by Chenglou)

  • HTML5 Canvas API (preview and export)

  • Browser-native Canvas image data for luminance/brightness mapping

  • framer-motion for animated glyph reveal / UI transitions

References

Visual Poetry (Wikipedia): A comprehensive look at the history and evolution of the form, from antiquity to modern concrete poetry. Link

Typewriter Art (The Marginalian): An exploration of how the constraints of a grid-based text system were first used to create complex imagery. Link

Get in Touch

Get in Touch

© KEERTHI

LAST UPDATED ON 19.11.26

© KEERTHI

LAST UPDATED ON 19.11.26