An interactive five-chapter night walk through a Kyoto mountain temple, rendered live in Three.js and layered with cinematic generated imagery.
View the live project · View the source · Read the build prompt
- Moves a live WebGL camera through a mountain temple as the page scrolls.
- Combines procedural architecture, lantern light, fog, rain, drifting leaves, a vermilion moon, and a restrained bloom pipeline.
- Layers editorial typography, generated scene plates, and alpha-preserving WebP foreground elements over the 3D world, with section-specific fade and blur transitions.
- Includes chapter navigation, a responsive mobile layout, reduced-motion behavior, and a custom cursor for precise pointer devices.
Kage is a deliberately small static site. index.html contains the document structure, CSS, procedural scene construction, scroll choreography, and interaction logic. A vendored Three.js r149 build provides WebGL rendering without a package manager or build step.
The temple, torii, lanterns, moon, terrain, rain, leaves, fog, and post-processing are constructed at runtime. Optimized WebP scene plates and foreground cutouts sit in normal HTML layers, giving the page its collage-like depth while keeping the camera path and lighting live.
The portable implementation brief in PROMPT.md describes the scene structure, layout system, motion language, and quality constraints needed to rebuild or reinterpret the experience.
From the repository root, run:
python3 -m http.server 4173 --bind 127.0.0.1Then visit http://127.0.0.1:4173/.
There is no build step, environment variable, analytics script, or runtime network dependency. Python is used only to serve the static files locally; any equivalent static server will work.
kage/
├── index.html
├── PROMPT.md
├── README.md
├── assets/
│ └── kage-preview.webp
└── secret-pathways-assets/
├── fonts.css
├── three.min.js
├── generated/
└── foreground/png/
Kage is an original, independent design study inspired by Japanese temple architecture and night gardens. It is not affiliated with a specific temple, cultural institution, or tourism organization.
The cinematic scene plates and foreground artwork were generated for this project using GPT Image 2, then art-directed and composed with the live Three.js scene. The vendored Three.js r149 build retains its MIT license notice and copyright attribution.
Other single-file experiments in the same vein — no build step, no framework, everything in one HTML document.
- Complete Shelf — an original Three.js library of seven interactive clothbound hardcovers. · source
- Sketchbook — a page-flipping sketchbook of Singapore: drag to turn the page, drag the magnifier across it. · source
- Agent Skills — the reusable skill library these pages are built with, including the falling leaves and pointer trail techniques extracted from Kage.
No license is currently granted for reuse or redistribution of the original Kage code or artwork. The third-party Three.js runtime remains covered by its included MIT license notice.
