Ascii Dioramaのロゴ

Ascii Diorama

コミュニティ
JDhruv14
ascii-diorama

チルトシフト風のASCIIミニチュアを作成します。Three.jsで描く、小さくて緻密に動く3D世界です。色付きの等幅文字だけで描画し、上空から眺めた景色の上下をぼかして、ミニチュア模型のように見せます。ASCIIシーン、ASCIIシェーダーやレンダラー、グリフ描画やテキストモードの3D、ASCIIジオラマやミニチュア、チルトシフト風のASCIIエフェクト、またはこのスタイルの小さく緻密な世界(村、港、海岸、森の小道、神社、街区)を求められたときに使います。成果物はアニメーションがループするライブWebページです。

Add to TypingMind

概要

公開者JDhruv14
リポジトリascii-diorama
スキル名ascii-diorama
スター
54
フォーク
2
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    JDhruv14がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ascii Diorama」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/JDhruv14/ascii-diorama/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JDhruv14/ascii-diorama.git \
  .claude/skills/ascii-diorama
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAscii Dioramaを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAscii Dioramaを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ascii Dioramaは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ascii Diorama」では何ができますか?

チルトシフト風のASCIIミニチュアを作成します。Three.jsで描く、小さくて緻密に動く3D世界です。色付きの等幅文字だけで描画し、上空から眺めた景色の上下をぼかして、ミニチュア模型のように見せます。ASCIIシーン、ASCIIシェーダーやレンダラー、グリフ描画やテキストモードの3D、ASCIIジオラマやミニチュア、チルトシフト風のASCIIエフェクト、またはこのスタイルの小さく緻密な世界(村、港、海岸、森の小道、神社、街区)を求められたときに使います。成果物はアニメーションがループするライブWebページです。

TypingMindでAscii Dioramaを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ascii Dioramaはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAscii Dioramaをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/JDhruv14/ascii-diorama/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ascii Dioramaを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ascii Dioramaで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAscii Dioramaを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ascii Diorama」は無料ですか?

はい。JDhruv14がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇