[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109763":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":10,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":27,"discoverSource":28},109763,"splat-walk","willeastcott\u002Fsplat-walk","willeastcott","A first-person walk through a Gaussian splat scan of Artillery Passage, London, made to look like phone footage. PlayCanvas + WebGPU.","https:\u002F\u002Fwilleastcott.github.io\u002Fsplat-walk\u002F",null,"JavaScript",70,7,2,0,1,13,41.51,false,"main",true,[],"2026-11-05 14:33:03","2026-11-18 15:55:36","# splat-walk\n\nA web app that plays a first-person walk through a Gaussian splat scan of Artillery Passage\n(Spitalfields, London), made to look like footage from a phone: a simulated walker and head,\na camera body with motion blur, rolling shutter and lens, a 30 fps clock, and a soundtrack of\nfootsteps and the city. Tap the picture and it burns down to its Gaussians, then reassembles.\nBuilt with [PlayCanvas](https:\u002F\u002Fplaycanvas.com) (WebGPU, with a WebGL 2 fallback).\n\n**Watch it: https:\u002F\u002Fwilleastcott.github.io\u002Fsplat-walk\u002F** (sound on; it loads ~78 MB). Every push to\n`main` redeploys it (`.github\u002Fworkflows\u002Fpages.yml`).\n\n```bash\nnpm install\nnpm run dev        # http:\u002F\u002Flocalhost:5186\nnpm run build      # static site in dist\u002F\n```\n\nClick play (or press Space). **Tap or click the picture to burn it down to its Gaussians.** Space\n(or the corner button that appears when the pointer moves) pauses, R restarts, F toggles\nfullscreen, M mutes.\n\n## Burn to Gaussians (`src\u002Fburn.js`)\n\nA tap casts a ray from the camera into the passage (against the floor and wall model) and lights a\nfire front at that point. It spreads through the scan, slowing as it goes (about 24 m reach). As\nit passes, each Gaussian flashes hot; the larger ones turn into thin glowing outlines of their own\nelliptical footprint (the structure the scan is made of) while the small ones flare; then they all\ncollapse into small dots that drift up like embers and cool, about half of them kept so the cloud\nstays crisp, as the world behind falls into darkness. Five seconds after the tap a cyan front\nsweeps out from the same point: the dots fly home, flash through their outlines again and\nre-inflate into the photoreal scene. Two taps can overlap. The walk carries on throughout, and\ntaps also work while paused.\n\nIt runs in the engine's per-splat hooks on the shared unified material: `gsplatModifyVS` moves,\nreshapes and recolours each splat (in the GPU projector compute pass on WebGPU, so nothing has to\nre-render the 5M-splat work buffer), and `gsplatModifyPS` draws each fragment as gaussian, outline\nor dot. The per-splat state reaches the fragments as one 32-bit varying (four packed bytes). Both\nWGSL and GLSL versions are included. On the integrated GPU a burn costs a few ms, which the\ndynamic resolution absorbs at 30 fps.\n\n## The scene\n\n`scene.ply` from the download (1.18 GB, 5.0M splats, 3 SH bands) was compressed with\n[splat-transform](https:\u002F\u002Fgithub.com\u002Fplaycanvas\u002Fsplat-transform) into SOG (76 MB), split into six\nspatial chunks so the engine re-evaluates view-dependent colour per chunk rather than for all\n5M splats whenever the camera moves:\n\n```bash\nsplat-transform -g 1 scene.ply -l 0 public\u002Fscene\u002Flod-meta.json --lod-chunk-count 1024 --lod-chunk-extent 20\n```\n\nIt is a single level of detail, so nothing ever pops between levels, and every splat is kept. A\nplain single-file SOG (`splat-transform scene.ply scene.sog`, 65 MB) also works with\n`?scene=.\u002Fscene.sog` if it is copied into `public\u002F`, but it costs ~20 ms more per frame.\n\n## How it is made to look like footage\n\n- **The walk** (`src\u002Fwalk.js`, `src\u002Froute.js`) is a pure function of time. The route was measured\n  from the splat: floor height along the passage, the walls, and the obstacles at walking height\n  (bollards, lamp posts, bins, a parked bike), which the path weaves around. The gait model has\n  cadence tied to speed, the double-hump vertical bob with a slightly uneven left\u002Fright step, side\n  sway at stride frequency, a soft heel-strike shock, trunk counter-rotation, breathing and sway\n  while standing, gait initiation and a two-step stop. The head is simulated: attention steps\n  between goals - the path a few metres ahead with small irregular glances around it (and now and\n  then down at the footing), or things a walker notices (shopfronts, signs, the graffiti down the\n  side alley, the bollards underfoot), re-fixated once or twice while looking. The head chases each\n  goal like a damped spring tuned per movement, so turns start softly, peak early, settle late and\n  overshoot a little, with bigger turns taking longer, and the phone follows the head through a\n  second, stiffer spring. Turns roll the head into the turn and dip it slightly, and a head held\n  to one side stays a little tilted. The walker slows a little while looking. Hand shake is\n  layered on as smooth noise.\n- **The camera** (`src\u002Fpost.js`) renders the splats with 10% overscan into an HDR target. A film pass\n  then integrates each output pixel over a 1\u002F80 s exposure and a 16 ms rolling-shutter readout,\n  reprojecting from the exact camera pose at each instant (depth from an analytic proxy of floor\n  and walls, so the near walls and paving blur correctly). It adds barrel distortion, lateral\n  chromatic aberration, halation around the bright sky, phone-style sharpening, lens falloff and\n  sensor noise on a 1080p grid.\n- **The sound** (`src\u002Faudio.js`) is what the phone's microphone would pick up. A footstep lands\n  at every heel strike of the gait model, chosen from 16 single steps of trainers on stone paving,\n  alternating a slightly heavier and lighter foot, softer as the walker slows. Inside the passage\n  the steps get flutter echo between the walls and a short stone tail, which fades as the walker\n  comes out onto the street. Under that runs a continuous city bed: four long textures (distant\n  traffic, a far murmur of people, birds, a low wash of the wider city), each looped seamlessly and\n  drifting in level on its own slow cycle, so the mix never settles. Faint distant sounds rise out\n  of it and sink back - cars, a van, a scooter, voices, passers-by, pigeons, a gull, a horn, a dog,\n  a trolley, a siren - placed at random but the same on every play, overlapping, softened by\n  distance. Between the buildings the whole city is quieter and duller. It all goes through a\n  phone-mic chain (no low end, automatic gain, a limiter), landing around -22 LUFS.\n- The sounds were generated with ElevenLabs by `node tools\u002Fbuild-audio.mjs` (raw takes are cached\n  in `tools\u002Fraw\u002F`, so re-runs are free) and are ~2 MB in `public\u002Faudio\u002F`. The script trims each\n  texture to its steady stretch. One take was rejected for a steady 200 Hz harmonic buzz, and its\n  replacement had a 7 kHz whine notched out.\n- **The clock** runs at a fixed 30 fps, like a phone video, and frames are only rendered on that\n  cadence. While sound plays, the audio clock drives the pictures, as a video player syncs to its\n  soundtrack. Before playback the app benchmarks the GPU on a stretch of the walk. During playback\n  it trims the splat render resolution (never the output) to hold 30 fps, using GPU timer queries.\n\n## URL parameters\n\n| Parameter | Effect |\n| --- | --- |\n| `fps=60` | Video frame rate (default 30) |\n| `shutter=0.0167` | Exposure time in seconds (default 1\u002F80) |\n| `readout=0.016` | Rolling-shutter readout time in seconds |\n| `fov=50` | Vertical field of view in degrees |\n| `maxh=1080` | Maximum output height in device pixels |\n| `scale=1` | Fixed splat render scale (disables dynamic resolution) |\n| `scene=.\u002Fscene.sog` | Load a different splat file |\n| `webgl` | Force WebGL 2 instead of WebGPU |\n| `autoplay` | Start playing as soon as it's loaded (silent unless the browser allows audio) |\n| `mute` | Start muted |\n| `debug` | HUD, free camera (C toggles; WASD\u002FQE + drag), `window.__aw` dev handle |\n\nOn a laptop with both an integrated and a discrete GPU, Chrome on Windows uses the integrated one\nunless Windows' Graphics settings give the browser the \"High performance\" GPU. It plays at 30 fps\neither way, but renders the splats sharper on the discrete one.\n\n## Credits\n\n- Scene: [\"Artillery Passage\"](https:\u002F\u002Fsuperspl.at\u002Fscene\u002Ff4897475) by\n  [David Fletcher](https:\u002F\u002Fsuperspl.at\u002Fuser\u002Fartfletch), licensed\n  [CC BY 4.0](http:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby\u002F4.0\u002F). Changed: compressed from the original\n  PLY to a chunked SOG (all splats kept). See `public\u002Fscene\u002FLICENSE.txt`.\n- Sounds generated with [ElevenLabs](https:\u002F\u002Felevenlabs.io).\n- Engine: [PlayCanvas](https:\u002F\u002Fgithub.com\u002Fplaycanvas\u002Fengine) (MIT).\n","这是一个基于WebGPU的网页端高斯泼溅（Gaussian Splatting）场景漫游应用，真实还原伦敦Artillery Passage街景的第一人称步行体验。核心功能包括模拟手机拍摄效果（运动模糊、滚动快门、镜头畸变、30fps帧率与环境音效），以及独特的交互式‘燃烧-重组’视觉特效：点击画面触发火线传播，将高斯椭球体逐层解构为轮廓线与光点，再动态复原为完整场景。技术上采用PlayCanvas引擎，支持WebGPU加速与WebGL2回退，通过空间分块加载500万级高斯点并实现实时逐点着色控制。适用于数字文化遗产展示、三维扫描可视化教学及Web端神经渲染技术演示等轻量级沉浸式浏览场景。","2026-11-24 04:37:23","CREATED_QUERY"]