Work

Law-Abiding TOKYO OPEN DRIVE

TypeScript
three.js
Gemma
Open Data

A three.js driving and exploration game across Tokyo's 23 wards, built from Tokyo open data and PLATEAU 3D city models. Pedestrians and emergency dispatchers talk through Gemma 4 running on the device.

3D driving game across Tokyo's 23 wards

A 3D driving game in which you drive around Tokyo’s 23 wards in a world built from Tokyo Metropolitan Government open data and PLATEAU 3D city models, following the Road Traffic Act.

Features

  • Streams PLATEAU building models for all of the 23 wards into the browser, with terrain from GSI elevation tiles and collisions from the Rapier physics engine
  • Real spots, Toei bus positions and AMeDAS weather come from Tokyo and public transport open data
  • Traffic signs, road markings and signals follow JARTIC traffic regulation data, and violations are judged against the Road Traffic Act
  • Talk to pedestrians and call 119/110 after an accident: Gemma 4 (E2B) runs on the device with LiteRT-LM and plays the pedestrians and dispatchers
  • Navigation, a Level 4 self-driving taxi, and autopilot that obey one-way streets and turn restrictions
  • Cars, signals, signs and pedestrians are modeled procedurally with the Blender CLI

Play · GitHub Repository