Skip to content
Andrew Voirol
Work → After Hours // Rain District: Wet-Asphalt WebGPU Pinball & Procedural Tokyo Rain
Interactive SimulationLive

After Hours // Rain District: Wet-Asphalt WebGPU Pinball & Procedural Tokyo Rain

An asymmetrical rain-slicked midnight Tokyo alley pinball table built on the same WebGPU engine — combining blueprint-locked street art, wet-puddle PBR reflections, 280 live 3D neon-tinted rain streaks, 18 Blender 5.2 assemblies, 480 Hz multiball physics, and procedural rainfall & streetcar-bell WebAudio.

↗ Live

280 3D rain streaks · wet-puddle PBR · 391/391 WebGPU E2E · 120 fps

Started Nov 19, 2026

After Hours // Rain District proves the pinball engine isn't locked to a single layout or aesthetic. Swapping in a second canonical JSON table specification (afterhours.json) completely reconfigures the asymmetrical street-block geometry, material optics, surrounding 3D nocturnal Tokyo alley environment, condensed marquee typography, and procedural rain-noir soundscape — running live in the browser at 120 fps on hardware Metal WebGPU.

Wet-puddle PBR optics & live 3D Tokyo rain

Where Nocturne Observatory models lacquered midnight wood and brushed brass, After Hours shifts the playfield shader (specularStyle: "wet-puddle") to standing rainwater over dark urban asphalt:

  • Mirror puddles vs. matte crosswalk paint: Derived roughness maps carve low-roughness puddles directly into the playfield surface (roughness ~0.058 inside puddles vs. matte asphalt grain around them). In the TSL playfield shader, puddles deepen diffuse albedo (wetPuddleDeepen) while boosting analytical neon-tube specular streak gain (×2.15), so crimson-vermilion, jade-phosphor, and sodium-amber neon tubes streak sharply across wet patches without washing out the painted crosswalks or faceted stained-glass inserts.
  • Rain-beaded listening-bar backdrop & 280 instanced 3D rain streaks: Surrounding the cabinet, a 1920×1080 curved cyclorama looks past a rain-streaked steel-mullioned Tokyo listening-bar window (warm amber vinyl shelves on the left, wet brick alley and neon reflections on the right). Two flush under-cabinet neon edge rails cast crimson and jade spill onto the dark masonry while 280 GPU-instanced diagonal rain streaks fall outside the playfield corridor, tinted by proximity to the left warm window vs. right jade/crimson alley lights — zero per-frame JS allocations and zero interference with ball readability.
  • Asymmetrical street-block hardware (Blender 5.2): Eighteen headlessly built .glb assemblies power the Marquee Vault 3-drop-target bank (V-A-L-T), Subway Grate Scoop with vacuum hold and vertical up-kicker eject, Express Taxi Spinner with animated diverter gate, Rain Overpass elevated wireform ramp, Streetcar Bell, and animated rotating roof-fan marquee sign.

Procedural midnight rainfall, streetcar bell & 391/391 WebGPU E2E verification

SubsystemNocturne ObservatoryAfter Hours // Rain District
Cabinet wood resonance110 Hz deep mahogany bandpass126 Hz tighter birch alley cabinet bandpass
Cast-brass modal bell740 Hz bronze Observatory Bell (2.35 s tail)1046 Hz bright Tokyo Streetcar Bell (1.25 s tail)
Room ambience (zero 60 Hz hum)Vaulted dome air + 60 BPM brass pendulum tickMulti-layer pink/brown rain wash + 170 glass/awning droplets
Musical rule voicingsD Lydian glass-celesta arpeggiosWarm Dm9 / Fmaj7 Tokyo Rhodes & vibraphone voicings
HUD visual dialectCormorant Garamond serif + SVG Constellation DialBarlow Condensed marquee + 6-cell smoked-glass District Grid

Every asymmetrical pocket — including partial-drop states on the 3-target Marquee Vault bank and the tight shooter_divider <-> diverter_taxi throat — passed dedicated geometry pocket regression tests plus 280 Monte-Carlo anti-stall trials (0 stuck balls, 0 OOB escapes, 0 tunneling) and 391/391 live hardware Metal WebGPU E2E checks across desktop (1440×900) and mobile portrait (390×844) viewports at sustained 120 fps.

WebGPUShadersApple SiliconAnimationDesignShipping

Related Threads

Building After Hours // Rain District: Wet-Puddle Optics, 3D Rain & Midnight Tokyo Noir

Stress-testing the pinball architecture with an asymmetrical street-block layout, mirror wet-asphalt PBR puddles, 280 live 3D rain streaks, and procedural rainfall & streetcar-bell WebAudio.


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkThreadsBuilder's LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol·Back to top ↑
✦Just one prompt away from figuring it all out.