Logo di Ascii Diorama

Ascii Diorama

Community
JDhruv14
ascii-diorama

Crea miniature ASCII tilt-shift: piccoli mondi 3D animati e ricchi di dettagli, realizzati in Three.js interamente con caratteri monospaziati colorati e osservati dall’alto, con la parte superiore e inferiore della visuale sfocate come in un modellino. Usala quando qualcuno chiede una scena ASCII, uno shader o un renderer ASCII, grafica 3D composta da glifi o in modalità testo, un diorama o una miniatura ASCII, un effetto ASCII tilt-shift oppure un piccolo mondo fitto di dettagli (villaggio, porto, costa, sentiero nel bosco, santuario, isolato urbano) in questo stile. Il risultato è una pagina web animata e in loop.

Add to TypingMind

Panoramica

Pubblicato daJDhruv14
Repositoryascii-diorama
Nome della skillascii-diorama
Stelle
54
Fork
2
File inclusi
3
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da JDhruv14 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Ascii Diorama in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/JDhruv14/ascii-diorama/tree/main
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JDhruv14/ascii-diorama.git \
  .claude/skills/ascii-diorama
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Ascii Diorama in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Ascii Diorama non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Ascii Diorama non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Ascii Diorama?

Crea miniature ASCII tilt-shift: piccoli mondi 3D animati e ricchi di dettagli, realizzati in Three.js interamente con caratteri monospaziati colorati e osservati dall’alto, con la parte superiore e inferiore della visuale sfocate come in un modellino. Usala quando qualcuno chiede una scena ASCII, uno shader o un renderer ASCII, grafica 3D composta da glifi o in modalità testo, un diorama o una miniatura ASCII, un effetto ASCII tilt-shift oppure un piccolo mondo fitto di dettagli (villaggio, porto, costa, sentiero nel bosco, santuario, isolato urbano) in questo stile. Il risultato è una pag...

Perché usare Ascii Diorama su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Ascii Diorama è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Ascii Diorama in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/JDhruv14/ascii-diorama/tree/main. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Ascii Diorama?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Ascii Diorama?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Ascii Diorama: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Ascii Diorama è gratuita?

Sì. È pubblicata su GitHub da JDhruv14 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇