Logo van Ascii Diorama

Ascii Diorama

Community
JDhruv14
ascii-diorama

Build tilt-shift ASCII miniatures, which are small, dense, living 3D worlds in Three.js drawn entirely as coloured monospace characters and seen from high above with the top and bottom of the view blurred like a scale model. Use when someone asks for an ASCII scene, ASCII shader or renderer, glyph-rendered or text-mode 3D, an ASCII diorama or miniature, a tilt-shift ASCII effect, or a dense little world (village, harbour, coast, forest path, shrine, city block) in this style. The result is a live web page that animates and loops.

Add to TypingMind

Overzicht

UitgeverJDhruv14
Repositoryascii-diorama
Skillnaamascii-diorama
Sterren
54
Forks
2
Meegeleverde bestanden
3
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 3

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door JDhruv14 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Ascii Diorama in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/JDhruv14/ascii-diorama/tree/main
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JDhruv14/ascii-diorama.git \
  .claude/skills/ascii-diorama
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Ascii Diorama in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Ascii Diorama automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Ascii Diorama niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

ASCII diorama

Build a small, dense, animated 3D world and draw it as coloured monospace glyphs, seen from high above through a long lens. Each glyph cell takes its colour from the 3D render, and its character from what the surface is, how bright it is and which way its edges run. The middle band is sharp text; above and below, it melts into a soft painted blur, like a tilt-shift photograph of a model.

The result is a live scene in the browser that animates and loops forever.

The look

  • Camera: about 52 to 58 degrees down, FOV about 23, around 70 to 80 units from the subject. It sweeps slowly back and forth over about 14 degrees of yaw with eased turns and a slight push in. Nothing cuts.

  • Composition: one leading line runs diagonally through the view, such as a stair path, shoreline, river or street. A single saturated focal colour sits against calmer greens, golds and creams. A strong focal colour is one like vermilion gates, striped parasols or a yellow tram. Something different fills the top band (a canopy, rooftops) and the bottom band (water, a plaza) so the blur has colour to work with.

  • Density: everything is many small things. That means tens of thousands of grass blades, thousands of leaf cards clustered into tree crowns with dark gaps, flower cards in noise-shaped patches, rows of repeated props (lanterns, steps, posts) and rocks along the edges. Sparse, smooth, low-poly scenes read as toys.

  • Life: wind moves the grass and leaves. Water rolls in bands of foam and pulls back up the shore. Petals or motes drift across. One small creature or figure walks through the focal area.

  • Glyphs:

    • grass in / | \ strokes that lean with the wind
    • foliage in . : * + o
    • stone and steps in — = #
    • water in - ~ =, with foam in * % #
    • creatures in $ &
    • strong edges switch to | / — \ along their direction

    The cell background is a dim, blurred copy of the render, so gaps between glyphs still carry colour.

Files

  • templates/scene/main.js: the complete starter miniature, which is red gates running down a green cliff to a turquoise sea. It includes stone steps, lanterns, gold and red trees, white flower patches, rocks with foam, a walking fox and drifting petals. Every system you need is in it: terrain bake, sea shader, instanced grass, flowers and leaves, path props, the glyph pass and tilt-shift. It runs live and loops; Space pauses.
  • scripts/fetch-assets.sh <scene-dir>: downloads the starter's textures and fox model.
  • scripts/serve.mjs <scene-dir> [port]: bundles the scene and serves it, rebuilding on every reload.

Workflow

  1. Start from the template and change the subject. Don't ship the template's subject unchanged. Keep the systems and swap what they build, so it becomes your own world. For example:

    • a fishing harbour with a breakwater path and boats
    • a hill village with a cobbled lane
    • a waterfall gorge with a footbridge
    • a lighthouse point
    • a desert oasis
    • a city rooftop garden
    bash
    mkdir -p <scene> && cp ~/.claude/skills/ascii-diorama/templates/scene/* <scene>/
    bash ~/.claude/skills/ascii-diorama/scripts/fetch-assets.sh <scene>

    It needs three and esbuild resolvable from the folder (a parent node_modules works).

  2. Know where things live in main.js:

    SectionWhat it controls
    coastZ, rawH, ROCKSthe land shape and shoreline
    PATHthe leading line, as control points from top to bottom of the view
    buildTerrainbakes ground colour and glyph class from real textures, zoned by height, path distance and noise
    buildSeathe water: depth colours, rolling foam, swash, caustics
    buildGrass, buildFlowers, buildTreesthe dense fill
    buildTunnel, buildLanterns, buildShrine, buildRocksthe props along and around the path; replace these with your subject's props
    CLS and the cls<... branches in asciiFragthe glyph rules per surface
    placeCamera, TARGET, DURATIONthe sweep and its period
    tiltFragthe focus band and blur strength
    COLS, ROWS, W, HHglyph grid and canvas size
  3. Gather assets with clear licences. Prefer CC0:

    • Poly Haven textures and HDRIs: https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/<id>/<id>_diff_1k.jpg, with the list at https://api.polyhaven.com/assets?t=textures.
    • Khronos glTF sample models: read each README's Legal section.

    Put downloads in their own folder, never run anything from them, and keep a list of each asset's source and licence. Avoid copyrighted characters.

  4. Look at it while you build.

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

    Open the printed URL, reload after each edit, and take screenshots to judge it. Check that the focal element and the leading line sit in the sharp band, that the top and bottom bands hold colour, and that large areas sit in the middle brightness range so their glyphs vary.

  5. Check motion, not just stills. Pause with Space at a few moments, or take several screenshots in quick succession. Glyphs flipping every frame read as strobing, so slow down the noise that drives them. The creature should step, not slide.

  6. Hand it over. The scene folder runs with serve.mjs. For a static copy, index.html, build/main.js and assets/ are everything the page needs, and they can go on any static host.

  7. Report: say how to view it, list each asset with its source, licence and any credit needed, and name any weak spots you saw.

Tuning that works

  • Grid 200×100 on a square canvas (cells of about 7×14 px). Sample the scene at the cell's mip level so each glyph averages its footprint.
  • Grade: tone curve, saturation 1.2 to 1.4, glyph colour × 1.3, cell background × 0.2 to 0.35. Raise the background for large bright surfaces such as sand or snow so they stay light.
  • Tilt-shift: focus around 0.42 to 0.47 of the height, blur starting about 0.27 away from it, up to 26 to 30 px on a golden-angle disc.
  • Light: a low-ish sun from the front-left with 4096 shadow maps, so canopies throw dappled shadow onto the grass and props cast readable shadows. Use a warm hemisphere fill.
  • Props on a path: space them at about the prop width, never tighter. Use a long gentle S rather than tight switchbacks.
  • Anything time-driven should loop cleanly or ping-pong, so the live view never jumps.

Pitfalls seen before

  • Props lying along the path instead of across it: with local x as the wide axis, use rotation.y = Math.atan2(tangent.x, tangent.z).
  • Tight switchbacks under wide props: they pile into a claw shape.
  • Black squares spreading through the image: NaN in the half-float target, which mipmapping spreads. Lit skinned glTF meshes are the usual cause, so use MeshBasicMaterial for small animated creatures.
  • Hulls or roofs black from above: flipped normals on extruded shapes. Use side: THREE.DoubleSide or unlit materials.
  • Dark tops on gates or roofs: these hide the focal colour from a steep camera, so colour the top surfaces.
  • Water blowing out to white glyphs: lower its base colours.
  • Orange or brown blob rocks: tint them cool grey and flatten them.
  • A glyph used in a rule but missing from GLYPHS: it produces undefined in the shader, so add it to the atlas string first.
  • Someone else's browser view: never navigate, resize or click in a browser someone is watching just to verify. Open your own tab or a separate headless browser instead.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Ascii Diorama?

Build tilt-shift ASCII miniatures, which are small, dense, living 3D worlds in Three.js drawn entirely as coloured monospace characters and seen from high above with the top and bottom of the view blurred like a scale model. Use when someone asks for an ASCII scene, ASCII shader or renderer, glyph-rendered or text-mode 3D, an ASCII diorama or miniature, a tilt-shift ASCII effect, or a dense little world (village, harbour, coast, forest path, shrine, city block) in this style. The result is a live web page that animates and loops.

Waarom Ascii Diorama gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Ascii Diorama bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Ascii Diorama in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/JDhruv14/ascii-diorama/tree/main. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Ascii Diorama gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Ascii Diorama gebruiken?

Zoveel als je wilt. Je kunt Ascii Diorama gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Ascii Diorama gratis?

Ja. Deze skill is door JDhruv14 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇