This WebGL experiment is an attempt to create a procedural city that feels alive and is fun to watch. First, we generate a finite grid of random city blocks. Then, using some tricks, the viewpoint wraps around this grid, which creates the illusion of an endless cityscape.
I reckon this could be the canonical WebGL demo.
And if I’m reading dev tools right, this is all done in 86K.