ascii-diorama

Builds looping tilt-shift 3D miniatures in the browser, with every pixel drawn as a coloured monospace character.

  • 94 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

git clone https://github.com/JDhruv14/ascii-diorama ~/.claude/skills/ascii-diorama
ascii-diorama — skill preview

What it is

A very specific look, delivered as a recipe. The camera looks steeply down on a small Three.js world, and a full-screen shader turns each cell of a 200 by 100 grid into a glyph: grass as leaning strokes, water as tildes with hash-mark foam, trees as clusters of small symbols. Each glyph takes its colour from the 3D render, so it reads as text up close and a painting from afar. The starter is a line of red gates running down a cliff to the sea, and the idea is to swap what its systems build. Code and skill text are MIT; textures are CC0, but parts of the fox are CC BY 4.0. The repo had 94 stars on 2026-11-07.

Who it's for

  • Web makers wanting a striking animated hero or background
  • Creative coders learning glyph shaders in Three.js

Requirements

Requirements

  • Node.js 18 or later
  • three and esbuild from npm
  • A browser with WebGL 2

Setup

  1. Step 1

    bash
    git clone https://github.com/JDhruv14/ascii-diorama ~/.claude/skills/ascii-diorama

تبني مجسمات مصغرة ثلاثية الأبعاد بتأثير الإمالة تعمل في المتصفح بلا توقف، ويُرسم كل جزء منها بحروف ملونة ذات عرض ثابت.

Examples

Ask for a scene

Prompt
prompt
an ASCII diorama of a fishing harbour

Expected output: The README's example request. You can also run /ascii-diorama.

Preview by hand

bash
bash
node ~/.claude/skills/ascii-diorama/scripts/serve.mjs my-scene

What it does: Serves the scene at 127.0.0.1:5173 and rebuilds on every reload.

Pros & cons

Pros

  • Pro:A complete starter scene shows terrain, sea, instanced grass and the glyph pass
  • Pro:Static output needs only index.html, build/main.js and assets

Cons

  • Con:If what you publish shows the starter fox, CC BY 4.0 credit is required for tomkranis, @AsoboStudio and @scurest
  • Con:The asset script downloads files at setup time
  • Con:A 200 by 100 grid and tilt-shift pass need WebGL 2, so older browsers are out