2. 3D Isometric WFC
Six neighbours instead of four -- the same algorithm, one dimension up, rendered with an isometric camera.
A three-dimensional grid, collapsed layer by layer
This extends the Simple Tiled Model from two dimensions to three. Instead of four neighbours (up/down/left/right), each cell has six — adding above and below. The core algorithm is identical: observe, collapse, propagate.
Face-based adjacency
Each 3D tile has six faces — up, down, north, south, east, west — each
labeled either open or closed. Two tiles may be neighbours when
their touching faces share the same label. This binary system is enough to produce a
surprisingly rich variety of structures: solid blocks connect to walls, walls to corners,
pillars stack vertically.
Isometric projection
The 3D grid is drawn with isometric projection — a 2:1 diamond shape where the X and Z axes go diagonally and Y goes straight up. Blocks are sorted back-to-front (painter's algorithm) so closer blocks correctly overlap distant ones. Interior blocks that are fully hidden by neighbours are skipped for performance.
Layer slicing
Drag the Layer slider to cut away upper layers and peek inside the generated structure. This reveals interior corridors, rooms, and passages that WFC creates — structure that emerges purely from local adjacency rules, with no global planning.
Six neighbours, not four
The only algorithmic change from 2D to 3D is that the propagation loop now visits one more axis. Everything else — entropy, observation, weighted collapse — is unchanged. WFC scales to any dimension where you can define a neighbourhood.