Skip to content
Andrew Voirol
Work → After Hours // Rain District: Wet-Asphalt WebGPU Pinball & Procedural Tokyo Rain → Building After Hours // Rain District: Wet-Puddle Optics, 3D Rain & Midnight Tokyo Noir
ThreadActive

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.

↗ Live
Started Nov 18, 2026·Latest Nov 19, 2026·3 entries

If a dual-table pinball engine only feels different because you swapped hex colors, you haven't built two tables — you've built a palette picker. After Hours // Rain District was designed to test every assumption in the engine with an asymmetrical street-block playfield, wet-asphalt specular puddles, a tighter wood cabinet voice, and a late-night Shinjuku rain-alley atmosphere.

Geometry fuzzing immediately earned its keep on the asymmetrical layout. Running 280 randomized and feature-stress Monte-Carlo trials exposed two real physical traps — balls wedging between partial drop states on the 3-target Marquee Vault bank and grazing slowly along the tight throat between the shooter divider and the animated Express Taxi diverter gate — both caught and fixed with dedicated regression tests before shipping. On the visual side, deriving puddle roughness maps directly from the aligned street artwork let analytical TSL neon tubes streak sharply across dark standing water while matte crosswalk stripes stayed diffuse beneath tempered playfield glass.

The final atmosphere and audio pass completed the shift in mood. Replacing stark side bars with a rain-beaded Tokyo listening-bar window backdrop, adding 280 instanced diagonal rain streaks tinted by nearby crimson, jade, and sodium-amber neon, and baking a seamless 6-second multi-layer rain wash dotted with 170 randomized glass and tin-awning raindrop patters — paired with a bright 1046 Hz cast-brass Streetcar Bell and warm Dm9 Rhodes musical cues — gave After Hours a completely separate physical identity while holding 120 fps across 391/391 live WebGPU E2E checks.

Latest Update

Rain-beaded Tokyo window backdrop, 280 3D rain streaks, and procedural rainfall

Thu, Nov 19, 2026

Timeline

To prove the pinball engine wasn't just a reskin machine, I designed After Hours // Rain District around an asymmetrical midnight Tokyo street-block layout with wet-asphalt puddle optics. Starting from afterhours.json, the layout shifts the pop bumper nest off-axis, puts the Marquee Vault 3-drop-target bank down the left wall, routes an elevated Rain Overpass wireform across the upper alley, and pairs an animated diverter gate with the Express Taxi spinner lane. In the TSL playfield shader, specularStyle: "wet-puddle" reads derived roughness maps (~0.058 inside puddles) to deepen standing-water albedo (wetPuddleDeepen) while boosting analytical neon-tube specular streak gain (×2.15), letting crimson, jade, and sodium-amber tubes smear cleanly across wet asphalt next to matte painted crosswalk stripes.

WebGPUShadersDesign
Permalink →

Asymmetrical pinball layouts punish lazy geometry, and the 280-trial After Hours fuzz suite caught two real traps before I ever hit deploy. Balls could stall against partial drop states inside the 3-target Marquee Vault bank or hug slowly along the narrow throat between shooter_divider and diverter_taxi depending on whether the diverter arm was open or closed. Tightening both clearance profiles and adding dedicated pocket regression tests cleared all 280 randomized + feature-stress runs with zero stalls, zero OOB escapes, and zero flipper tunneling. End-to-end hardware Metal WebGPU verification (verify_webgpu.py) then passed 391/391 checks (0 console/WGSL errors) across 1440×900 desktop and 390×844 mobile portrait viewports at 119.96–120.12 fps, exercising 3-Ball Neon Surge Multiball, self-hosted Barlow Condensed marquee typography, and rapid table hot-switching.

WebGPUApple Silicon
Permalink →

Swapping stark black flanking rods for a real rain-beaded Tokyo listening-bar window and falling 3D rain completely changed how After Hours feels in motion. I generated a 1920×1080 architectural backdrop looking past wet steel window mullions and warm amber vinyl shelves into a dark brick alley, tucked flush crimson/jade neon edge rails directly under the cabinet skirt, and instanced 280 diagonal falling rain streaks outside the playfield corridor tinted subtly by left warm window light vs. right jade/crimson alley bounce (0 per-frame JS allocations, still locked at 120 fps). For the soundtrack, I dropped the 60 Hz oscillator buzz and pre-baked a seamless 6-second multi-layer rain loop with 170 randomized glass and tin-awning raindrop micro-impulses (180–4600 Hz), paired with a crisp 1046 Hz cast-brass Streetcar Bell, a tighter 126 Hz birch cabinet resonator, and warm Dm9 Tokyo Rhodes/vibraphone musical cues.

WebGPUShadersAnimationDesignShipping
Permalink →

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.