尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A research archive and toolkit for AI-built realtime graphics: viral browser games and simulations (Three.js / WebGPU / Babylon), the prompts that produced them, the GPU techniques they rely on, and an installable agent skill that turns those lessons into a new one-shot prompt.
This is not a game engine. It is:
realtime-graphics-prompt, installable via npx skillshttps://archastro.github.io/realtime-graphics/
| Repo | Private — ArchAstro/realtime-graphics |
| Site | Public URL (access-controlled private Pages needs Enterprise) |
| CI | .github/workflows/pages.yml |
What CI does on every push / PR:
python3 scripts/build-pages.py — rebuild prompt HTML + rewrite paths for base /realtime-graphicsmain only: upload artifact and deploy to GitHub PagesManual redeploy: Actions → pages → Run workflow.
# Browse the archive in your browser (builds prompt HTML pages, then serves)
npm run dev
Opens http://127.0.0.1:8000/ by default.
npm run dev -- 3000 # custom port
npm run dev -- --no-open # serve without opening a browser
npm run build # only regenerate prompts/*/index.html from markdown
npm run build:pages # build .pages-dist/ with GH Pages base path
Requires Python 3 (for the static server and HTML rebuild). No npm install of app dependencies is required for the site.
prompts/)Twelve high-signal demos scraped from Reddit / X, each with:
| File | Purpose |
|---|---|
meta.md | Why it made the cut, author, stack, demo/repo links |
prompt.md (or prompt-*.md) | The actual prompt text when published |
notes.md | Process notes / reconstruction when the original prompt was lost |
index.html | Generated readable page (hero, facts, prompt panel, related techniques) |
Browse at /prompts/ after npm run dev.
Examples:
| # | Demo | Why it matters |
|---|---|---|
| 01 | SNOWFLOW | Full WebGPU snow/waterbending brief (~19k chars) |
| 02 | Desert explorer | Clipmap dunes + sand spells; process notes |
| 03 | Claude of Duty | Adversarial AAA critic loop → ~55k LOC FPS |
| 04 | The Long Silence | Space game + Starfield judge /goal |
| 05 | SOLEBOUND | Short max-effort → full shoe-repair game |
| 06 | SDF blend-shell creatures | Novel seamless procedural characters |
| 07–12 | City, COD zombies, crane, canal locks, grass, mansion | One-shots and bake-offs |
Each folder’s meta.md cites original posts and licenses of those projects.
techniques/)GPU / rendering ideas reverse-engineered from the archive, with live demos:
| # | Technique | Demo |
|---|---|---|
| 01 | Geometry clipmap | demos/01-geometry-clipmap.html |
| 02 | Layered wind-anisotropic noise | demos/02-layered-wind-noise.html |
| 03 | Persistent deformation buffer | demos/03-deformation-buffer.html |
| 04 | Multi-scale surface shading | demos/04-multi-scale-shading.html |
| 05 | Wrapped diffuse + cheap SSS | demos/05-wrap-sss.html |
| 06 | SDF blend-shell | demos/06-sdf-blend-shell.html |
| 07 | Floating origin | demos/07-floating-origin.html |
| 08 | Bake vs evaluate | demos/08-bake-vs-evaluate.html |
| 09 | Analytic sky |
/techniques//techniques/demos/techniques/catalog.json maps techniques ↔ source promptsTeaching demos are simplified WebGL/Three.js sketches, not production ports of the viral projects.
skills/realtime-graphics-prompt/)Installable with the skills CLI. When you run /realtime-graphics-prompt (or ask for a one-shot game prompt), the agent:
skills/.../references/playbook.md)From this checkout:
# See what this package ships
npx skills add . --list
# or
npm run skills:list
# Install into agents for the current project
npx skills add . --skill realtime-graphics-prompt -y
# or
npm run skills:install
# Install for your user (all projects)
npx skills add . --skill realtime-graphics-prompt -g -y
# or
npm run skills:install:global
From GitHub:
npx skills add ArchAstro/realtime-graphics --skill realtime-graphics-prompt -y
npx skills add ArchAstro/realtime-graphics --skill realtime-graphics-prompt -g -y
/realtime-graphics-prompt
Or natural language: “write a one-shot prompt for a sand-mage desert tech demo.”
| URL | What |
|---|---|
/ | Home — entry points to demos, curriculum, prompts |
/techniques/ | Technique curriculum (HTML) |
/techniques/demos/ | Interactive technique demos |
/prompts/ | Prompt archive index |
/prompts/<id>/ | Single prompt (overview, facts, full text, related techniques) |
Subtle WebGL backdrop: techniques/site-bg.js (content sits on solid frosted panels for readability).
realtime-graphics-prompts/
├── index.html # site home
├── package.json # npm run dev / build / skills:*
├── scripts/
│ ├── dev.sh # build prompts + serve (used by npm run dev)
│ ├── serve.sh # alias → dev.sh
│ └── build-prompt-pages.py # markdown → prompts/*/index.html
├── prompts/ # archive (md sources + generated HTML)
├── techniques/ # curriculum, demos, catalog, shared CSS/JS
├── skills/
│ └── realtime-graphics-prompt/ # npx skills package
│ ├── SKILL.md
│ └── references/playbook.md
├── skills.sh.json # skills.sh grouping metadata
└── README.md
Grok also discovers the skill via .grok/skills/realtime-graphics-prompt → symlink into skills/.
Across the best demos, working prompts share these moves:
Full checklist: skills/realtime-graphics-prompt/references/playbook.md.
| Script | What it does |
|---|---|
npm run dev | Rebuild prompt HTML + serve site + open browser |
npm run build | Only rebuild prompts/*/index.html from markdown |
npm run skills:list | npx skills add . --list |
npm run skills:install | Install skill into project agents |
npm run skills:install:global | Install skill globally |
prompts/<id>/ (meta.md, prompt.md, …).techniques/catalog.json (and optionally the demos).npm run build or npm run dev to regenerate HTML pages.skills/realtime-graphics-prompt/ and reinstall if needed (npm run skills:install).Collected from public Reddit and X posts (ClaudeAI, aigamedev, singularity, threejs, and related threads). Individual meta.md files cite authors, posts, and upstream repos.
demos/09-atmosphere-sky.html| 10 | Post stack + tonemap | demos/10-post-stack.html |
| 11 | Swept-mesh wake | demos/11-swept-mesh.html |
| 12 | Procedural PBR forge | demos/12-procedural-pbr.html |