Kamimichi (紙道) — An 8 km 3D trail of 3,776 Japanese torii gates in Three.js

Hi everyone,

I’d like to share Kamimichi (“the paper path”), an 8 km continuous 3D walk through 3,776 Japanese torii gates, cedar woods, bamboo, a koi pond, and changing day/night lighting—running directly in desktop and mobile browsers.

Live site: Kamimichi · The paper path · 3,776 Torii Gates (best experienced with sound/headphones)

A few technical notes

  • Chunk streaming: the 8 km trail streams in sectors (max 5 loaded at once), generating procedural terrain, rocks, roots, bamboo, and foliage per sector, and disposing GPU geometries/materials and Rapier colliders when unloaded.
  • Materials & lighting: torii wood is batched per sector to reduce draw calls; daylight/dusk uses an approximate solar model (35°N) with lunar phases and fireflies at night.
  • Audio: Web Audio soundscape with lazy-loaded ambient tracks (cicadas by day, crickets by night, distant crow calls) and smooth crossfades.
  • Interactive tanzaku: visitors can walk freely with no account, or hang a virtual tanzaku (Japanese paper strip) swaying on any open gate with automatic EN/ES/JA translation.

Since the trail just opened and is still mostly empty, I created a free code for anyone here who wants to test hanging one of the first tanzaku on the path:

  • Code: THREETORII (100% free Washi or Iro paper for 3 months, 30 uses total, 1 per email)

Would love any feedback on performance, visuals, or mobile behavior!