Skip to content
AS
All projectsPersonal project

ASCII.STUDIO

Turn any image into ASCII art, right in the browser

An interactive image to ASCII art studio built with Next.js and TypeScript, with real time Canvas processing, custom character sets, full color output and high resolution exports.

Role
Solo project
Category
Creative Coding / Web Development
Status
Live
Stack
  • Next.js
  • TypeScript
  • Tailwind CSS
  • Canvas API
  • Web Workers
  • Vitest
  • Vercel
ASCII.STUDIO preview

(01) What it is

The project

You drop in an image and it gets rebuilt out of text while you watch. The engine averages each block of pixels, measures how bright it is, and swaps it for a character with the matching amount of ink. Characters are taller than they are wide, so the grid is corrected using the real width of the font, which keeps faces from looking stretched.

Everything happens on your device. The conversion runs in a Web Worker so the sliders stay smooth, and new requests replace old ones instead of piling up. You can switch between six character sets or type your own, color every character from the original image, compare against the source with a slider, then export a PNG, a vector SVG or plain text.

(02) Details

How it works

  1. 01The conversion engine is plain TypeScript with no DOM, covered by 65 unit tests
  2. 02Full color mode colors each character from the pixels underneath it
  3. 03Custom characters are sorted automatically by how much ink each one puts down
  4. 04Floyd Steinberg dithering makes two character ramps handle smooth gradients
  5. 05PNG exports are rendered again at up to 4x instead of screenshotting the preview
  6. 06Images are never uploaded, there is no backend at all

(03) Screenshots

The landing page, with a sphere drawn live in characters
The landing page, with a sphere drawn live in characters
Comparing the original image against the ASCII version
Comparing the original image against the ASCII version
Next projectExchange