Fly or walk: click the picture, then W A S D and the mouse; E and Q rise and sink; Shift is faster; Esc frees the mouse.

Neon city, live

A city worked out as arrays by an X_eTaL program -- 240 lots, each tower's height, footprint and skin a hash of the lot's number and the seed -- and written as the calls of a player. Blender's player ray-traces the same calls into a film; this player draws them with Three.js as you move. X_eTaL runs here, in this page, compiled to WebAssembly.

Against the film: the puddles mirror the city by drawing it a second time upside down, not by tracing rays, so screens and lamps do not light the walls; nothing casts a shadow; the haze is a fade with distance and the steam a few flat sheets; the windows and puddles are the same rules with other noise, so they fall in other places.

On the screens: slide shows and short videos from the author's blog and this repository's demos, and pictures worked out from the time. A video plays only while one of its screens is in view.

The program X_eTaL ran for this seed
NeonCity.xtl: the city as arrays
Three.xtl: the extension's facade

Drawn with Three.js 0.170.0 (MIT), kept with the page.