# Ascii backdrop

> Ascii backdrop is an open-source agent skill for design and media. Turns any subject into an animated ASCII or colour-tile backdrop behind a UI. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/majiayu000/spellbook/tree/main/skills/ascii-backdrop
- **Repository:** https://github.com/majiayu000/spellbook
- **GitHub stars:** 303
- **License:** MIT
- **Skill name:** ascii-backdrop
- **Collection:** https://github.com/majiayu000/spellbook
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-04

## About

This skill gives an agent a small dependency-free JavaScript engine that paints an animated backdrop behind a web page. A subject draws onto a low-resolution offscreen canvas each frame, and the engine prints the result as characters, braille dots, dither dots or rounded colour tiles. Subjects can be presets such as jellyfish, schools of bodies, smoke, strands, falling particles or a spinning wireframe, or they can come from an image, video, text, a math field, a shaded 3D solid, or a custom draw function.

The agent is guided through choosing a subject, a print mode, layer placement, palette and glyph set, then wiring the canvas behind the page content. Interaction features include cursor glow, click ripples and tile bodies that move away from the pointer. A CRT finish and two page helpers, a text decode effect and an image-to-ASCII dissolve, are also covered.

The skill ships HTML and React wiring examples and a demo page. A verification script takes screenshots at desktop, phone and reduced-motion sizes and reports errors and frame rate, and it needs Playwright. Images used as subjects must be same-origin or data/blob URLs, because cross-origin images cannot be read by the engine.

## When your agent uses it

> Turn any subject into an animated ASCII backdrop behind a UI, like a dark prompt page with jellyfish drawn in drifting characters, or a swarm of colour-tile bodies that veer away from the cursor. The subject is open-ended: creatures, objects, particles, smoke, a word or logo, an image or video, a per-pixel field, a shaded 3D solid, or your own canvas draw function. Six print modes can be mixed: brightness glyphs, edge-following glyphs, shape-matched glyphs, braille dots, ordered-dither dots and colour tiles; plus cursor glow, click ripples, a CRT terminal finish, and two page helpers (text decode and image-to-ASCII dissolve). Ships a dependency-free JS engine with HTML and React wiring. Use when the user asks for an ASCII background, ASCII art animation, glyph or braille backdrop, text scramble/decode, or an ASCII image reveal, or says 'ASCII 背景' / '字符画动效'.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/majiayu000/spellbook/tree/HEAD/skills/ascii-backdrop)
- [No network calls found in its scripts](https://github.com/majiayu000/spellbook/tree/HEAD/skills/ascii-backdrop)
- [License: MIT](https://github.com/majiayu000/spellbook/tree/HEAD/skills/ascii-backdrop)

## Features

- **Six print modes:** Brightness glyphs, edge glyphs, shape matching, braille, ordered dither and colour tiles can be mixed in one scene.
- **Preset and custom subjects:** Ready-made creatures, particles and solids, plus hooks for images, text, math fields, signed distance shapes and custom canvas drawing.
- **Cursor and click interaction:** Subjects can read pointer position and recent clicks to glow, ripple or move away from the cursor.
- **Page text helpers:** A scramble effect decodes headings, and an image reveal dissolves an image from characters into the picture.
- **CRT and palette styling:** Optional terminal scanlines, glow and flicker, with built-in colour palettes and glyph sets.
- **Reduced motion support:** The engine shows a single still frame under prefers-reduced-motion and pauses in hidden tabs.

## Good for

- Add an animated ASCII background behind a landing page hero
- Make a dark terminal-style prompt page with drifting jellyfish
- Decode a page heading with a scrambling text effect
- Reveal a product image as ASCII characters that dissolve into the photo
- Build a colour tile backdrop whose bodies flee the cursor

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/ascii-backdrop` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ascii-backdrop &&
cp -R "$tmp/skills/ascii-backdrop" ~/.claude/skills/ascii-backdrop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ascii-backdrop` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ascii-backdrop` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ascii-backdrop &&
cp -R "$tmp/skills/ascii-backdrop" ~/.agents/skills/ascii-backdrop &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ascii-backdrop` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ascii-backdrop` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ascii-backdrop &&
cp -R "$tmp/skills/ascii-backdrop" ~/.cursor/skills/ascii-backdrop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ascii-backdrop` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/majiayu000/spellbook.git --path skills/ascii-backdrop
```

Or copy the folder to `~/.gemini/skills/ascii-backdrop` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ascii-backdrop`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/majiayu000/spellbook.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ascii-backdrop &&
cp -R "$tmp/skills/ascii-backdrop" ~/.copilot/skills/ascii-backdrop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ascii-backdrop` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/majiayu000/spellbook.git
```

Then copy `spellbook/skills/ascii-backdrop` into your agent's skills folder as `ascii-backdrop`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

The engine is dependency-free JavaScript and is copied into the project. The check script needs Playwright.

### Which images can be used as subjects?

Images must be same-origin, data: or blob: URLs, or served with CORS headers. Local file:// images count as cross-origin.

### How is Ascii backdrop used in React?

Call create inside useEffect, return a destroy cleanup, use setLayers when layers change and set for options, without recreating the backdrop on each render.

### Does the backdrop stop for users who prefer reduced motion?

Yes, the engine shows one still frame under prefers-reduced-motion, and the page helpers show their final state immediately.

### How do I install Ascii backdrop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ascii-backdrop to use it in all your projects, or to .claude/skills/ascii-backdrop in one project.

### Does Ascii backdrop run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ascii backdrop?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ascii backdrop?

The closest alternatives to Ascii backdrop are Ljg card, Animating with code, Premium frontend UI, Canvas design and Game engine.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ljg card](https://ai-powered.com/skills/ljg-card): Ljg card is an open-source agent skill for design and media.
- [Animating with code](https://ai-powered.com/skills/animating-with-code): Animating with code is an open-source agent skill for design and media.
- [Premium frontend UI](https://ai-powered.com/skills/premium-frontend-ui): Premium frontend UI is an open-source agent skill for design and media.
- [Canvas design](https://ai-powered.com/skills/canvas-design-agiflow): Canvas design is an open-source agent skill for design and media.
- [Game engine](https://ai-powered.com/skills/game-engine): Game engine is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.
- [Render an avatar](https://ai-powered.com/skills/render-an-avatar): Render an avatar is an open-source agent skill for design and media.
- [Canvas design](https://ai-powered.com/skills/canvas-design): Canvas design is a free agent skill for design and media.

---
Source: https://ai-powered.com/skills/ascii-backdrop
