For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. The asciicn agent skill, for building any ASCII effect on the engine, is at /.well-known/agent-skills/asciicn/SKILL.md.

Add ASCII to anything in your app.

ASCII shaders and UI for shadcn/ui. One prompt for your coding agent.

Read the docs

Painted backgrounds.

16 cities and landscapes drawn in halftone glyph dots. Each one is a component you put behind a hero. Point at one to play it.

See all 16 backgrounds

Ask for any ASCII effect.

The skill teaches your agent the engine, so one sentence is enough: what it is, where it goes, how it should feel.

Field notes for the trail

Maps, routes and the long way round.

An ASCII topographic background behind the hero. Slow, and quiet enough to read over.

A 23-line GLSL field on AsciiShader, written for this page.

What's inside.

asciicn is an open-source ASCII engine for shadcn/ui projects, with an agent skill that teaches your coding agent to use it. Everything installs as code in your repo.

The engine

ascii-core installs into lib/ascii as plain source you own. It turns a tone between 0 and 1 into a glyph from one of ten charsets, then draws it three ways: a WebGL2 glyph shader for anything that moves, a Canvas2D grid for what you compute in JavaScript, and a sampler for photos, video and your webcam. Colours come from your shadcn theme, animation pauses offscreen and respects reduced motion, and any frame exports to text, ANSI, SVG or PNG.

The agent skill

A SKILL.md with references that teaches Claude Code, Codex, Cursor, Gemini and other coding agents to use the engine. It walks the agent through picking a technique, writing a field, placing the effect on a landing page or in an app, colouring it from your theme, and checking it in a browser in light and dark mode at desktop and phone widths.

62 examples in 7 groups

  • City skylines 10

    Animated ASCII skylines of ten cities, each one component you put behind a hero. Miami, Tokyo, New York, Paris and 6 more.

  • Landscapes 6

    Painted halftone landscapes in glyph dots, each one component you put behind a hero. Redwood light, Balloon valley, Canyon river, Lighthouse and 2 more.

  • 3D & scenes 11

    Real-time 3D objects and animated scenes drawn in glyphs. Torus knot, ASCII globe, ASCII donut, DNA helix and 7 more.

  • Shaders & fields 6

    Seeded glyph fields that run on the GPU, for heroes, sections and cards. Nebula, Prism, Ionize, Squall and 2 more.

  • Media & filters 7

    Turn images, video and logos into ASCII. ASCII image, ASCII portrait, ASCII video, ASCII logo and 3 more.

  • Text & typography 7

    Display type set in glyphs: banners, scrambles, glitches, typewriters and tickers. ASCII text, Scramble text, Glitch text, Typewriter text and 3 more.

  • Terminal & UI 15

    Terminal-grade interface pieces: frames, buttons, loaders and status, in real text. Terminal window, ASCII button, ASCII badge, ASCII card and 11 more.

One command, then ask.

Add the skill with the skills CLI, for Claude Code, Codex, Cursor or any other agent. Your agent adds the engine the first time it builds an ASCII effect.

$ pnpm dlx skills add https://asciicn.dev
.agents/skills/asciicn/
The skill, for Codex, Cursor, Gemini and others.
.claude/skills/asciicn/
The same skill, for Claude Code.
lib/ascii/
The engine, added by your agent the first time it builds an effect.
globals.css
--ascii-ink, --ascii-paper and friends, from your theme.
What to ask your agent

Using shadcn? npx shadcn@latest add https://asciicn.dev/r/asciicn-skill.json installs the skill and the engine together. Installation has both commands.