World axes: x east, y south, z up; one unit is one street cell.
The camera azimuth rotates the plan, then a 2:1 dimetric projection (the classic pixel “isometric”,
26.57° elevation) maps to screen:
sx = 2(x′−y′), sy = (x′+y′) − 2z.
A unit cube becomes the standard hexagon, and neighbouring cells share exact projected vertices,
so coplanar faces butt with no seams.
Painter’s order by max(x′+y′) over each object’s footprint: ground depth equals
screen height, and objects with equal keys sit on one horizontal screen line, so axis-aligned
buildings never mis-sort. Crane booms are constrained to reach only over water.
Seed string → hash → mulberry32 streams. A 1-D value noise wobbles the coastline; roads cut the
18×18 grid into nine blocks; a constraint pass gives the quay-adjacent blocks to warehouses plus one
crane yard, picks one block for the market hall, and fills the rest with terraced housing. Every
building re-derives its height, pitch, brick tint, windows and dossier from sub-streams keyed on
seed + id, so the same seed always yields the same city.
Scene nodes: – · page nodes: – · last build – ms