Directed Morphic Tessellations
An interactive geometric laboratory for foveated, closed-edge image representations. It is a research toy, not an image generator or a benchmark winner; results and nulls are on Where this stands. Start with the tiling below, or take the tour.
Where this stands — ours / null. The structure opens and closes exactly, but the tested tessellations have earned no extra depth accuracy over matched controls. Phase stereo supplies the working depth cue. The sealed hairpin depth check has not been run. Read the claim ledger and timeline.
1. Attention morph
Move the pointer across the tiling. Nearby hexes lean along that motion, then ease back. On a phone, tap Interact before a drag so the page can still scroll. Escape or Done to release.
Hover directs the morph. Edges stay locked. This is a 2D attention demo, not the hairpin depth gate.
2. Hairpin across slices
Drag the stack. The line passes through every sheet and turns once underneath.
Drag to morph the sheets. The line threads every sheet and turns once at the bottom. Carried keeps it inside its tiles, pinned shows the check can fail. It is a line-consistency check across slices, not evidence of depth understanding.
3. Fit to a real image
A photo is blurred into slices, and a hex lattice fits each slice without opening an edge.
A photo you choose is processed in this browser and is not uploaded.
How it works
Click the photo to thread a line. Slices are blur levels of one photo, standing in for depth. The lattice fits each slice without opening any edges. The check tracks the clicked feature independently and asks whether it stays inside its carried tile. Not evidence of depth understanding.
Math background
Blur hairpins follow critical points as the blur increases (Koenderink 1984; Kuijper and Florack 1999). Those U-turns run across blur level, not depth. They are a self-consistency check of the lattice and the line on a real image, not a depth claim.
4. Attention vortex
The pointer is a signed center. Swirl rotates the lattice around it and fades with distance. Read checks that warp on a photo. Realize shades a blank lattice from the same warp, so the vortex draws a form. Hold still and the attended core sharpens step by step; the surround stays blurred, and plus/minus pairs there come back as the blur drops.
How it works
Read puts the vortex on blur levels of one photo and asks whether two tracked features stay inside their tiles. Realize uses no photo: tile area and rotation become tone, and the same closed-edge line is checked on that drawing. Hold still and the core sharpens one blur step at a time while the surround stays blurred; plus and minus pairs in that region come back as the blur drops. Human-like (illustrative preset) prefers a focused center that is strongest on the sheet you are pointing at and stays put while you hold still. Toy stability preset prefers the measured line, low distortion, no flips, and low cost. On this scripted path, Shear was the steadier tested preset.
5. Strange loop: Read and Realize round trip
Play it forward. Each round refits the mesh to shrink the error against the photo. Gradient, the cap, and Attention change how much detail comes back.
How it works
The reconstruction is painted only from mesh parameters. Flat mode uses one color per tile. Gradient mode uses a linear color on each tile: a base and a slope in x and y, for each channel, nine numbers. No photo pixel is copied into that picture. Each round refits those parameters to shrink the error. The line score stays a constraint: a move that would push a held feature out of its tile is rejected. Adaptive refinement splits tiles that stay wrong. The cap is 480, 1000, or 2000 tiles, and the split budget on every fifth round is 8, 16, or 32. Attention spends three quarters of that budget inside a disk 2.3 hex radii across, the same core size as the vortex, and the rest outside. Click the photo to move that disk. The left plot is the round. The right plot is error against description size.
The citrus photo is processed in this browser and is not uploaded. Closed edges stay shared vertices. A move that would flip a tile is rejected.
Aggregate lens: open and close clusters on one fixed grid
Ours, a framing, not an established result. The same closed-edge mesh changes at two scales. Continuous morphing, as in the vortex, moves vertices within a level. That local elasticity keeps edges closed and tiles unflipped. Discrete opening and closing moves between levels: aperture 7, a center and six neighbours, or aperture 3, groups of three, as exact inverse moves on the fixed fine grid. Focus decides where a tile opens. Warping decides how the tiles bend while they stay on one level.
Same photo, different rule. Underneath is one fine hex grid that never changes. A tile is a cluster of fine hexes: a center and six around it, nested (aperture 7), or a group of three (aperture 3). Pointing opens the tile under the pointer into its children. Close mode merges a full family back. Back undoes one move at a time.
How it works
Left is the photo (Read) or a target shape (Realize) with the current tiles outlined. Right is painted only from tile numbers: in Read, a linear color per tile (nine numbers, as in the refiner above); in Realize, one shade per tile, the share of the tile inside the shape. Step and Play open where the error is largest, weighted toward the focus ring (your last pointer spot). Play stops at the tile cap, which matches the refiner's cap above, so aperture 7 and aperture 3 are compared at nearly the same tile count. Moves counts every Open and Close since Reset, and each Back lowers it by exactly 1 and puts back the exact earlier state. From start is the smallest number of moves back, which can be lower than Moves. Compare runs the refiner above to round 60 at the same cap, then grows both apertures to that tile count with no shift, and scores all three on the same 160-pixel photo.
Math background
Established: nesting a center plus six neighbors on a hex grid is the generalized balanced ternary scheme (Gibson and Lenzmeier, 1981, used on hex-sampled images), and seven such clusters approximate a Gosper island. Opening and closing a full family of children as exact inverse moves is how quadtree and octree meshes coarsen. Ours (computed, not from a source): because every tile edge is already an edge of the fine grid, opening a cluster never leaves a gap or a dangling corner, and Open and Close undo each other exactly. Aperture 3 with groups of three also tiles exactly; its outlines get rougher faster. Ours (unsourced): the Shift scheme. Each open cluster nudges the fine hexes inside it toward edges in the photo or the shape, by an amount that is zero on its own outer edge, so neighbors never disagree about a corner. A move that would flip or fold any small triangle of the grid is refused, not repaired, and the refused count shows above. On one photo, it is not a depth model and not the hairpin depth gate.
How banded focus works
Banded focus. The pointer sets rings around the focus. Each ring gets one tile size, finest at the center. A ring edge sits where the distance from the focus is 2.5 fine spacings (the Ring spacing slider) times the next ring's tile width, so the rings widen as the tiles grow. When the focus moves, the lens walks to the new layout one notch at a time; Back undoes one notch. A7 and A3 rings use the nested clusters above, so every notch is an Open or Close. The arithmetic preset uses your sizes, k fine hexes across (1, 4, 9, 16 … cells, rhombus blocks), one band per k, and a notch moves one fine hex into the next band. Blocks cut by a band edge are orphans and are tinted orange. A3 near, A7 far needs a seam: one mixed tree (sizes 1, 3, 21, 147) keeps nesting, while the orphan band lets an A3 tree meet an A7 tree and tints the cut clusters along the seam. Balance forces extra opens until no two neighbouring tiles differ by more than one level, and the chain is how many rounds that takes. Compare plays the ordinary Play mode to the same tile count, with the same focus, and puts both in the table.
Math background
Established: the 2:1 balance rule in quadtree and octree meshes (p4est, Burstedde, Wilcox and Ghattas, 2011); receptive field size growing in proportion to distance from the fovea, which gives log-spaced rings (Schwartz, 1977; Van Essen, Newsome and Maunsell, 1984); mixing apertures 4 and 3 across whole levels of a hex grid (DGGRID). Ours (unsourced): the ring rule and its 2.5 default factor, the arithmetic rhombus blocks, using a mixed aperture tree to grade space side by side, the orphan band seam, and the notch walk order (closes deepest first, then opens coarsest first).
How stereo zero works
Stereo zero. It starts from a uniform grid of 49-hex blocks. View one is the photo. View two is a copy of the photo shifted sideways (Copy shift, 5 px by default), or the Realize target shape. Each tick, every tile measures the mean color gap between the two views inside it. A tile whose gap is under the tolerance (0.06 of full scale by default) is in the zero set: it is tinted green and opens one notch (one level finer), until the tile cap. A tile over the tolerance is in conflict and does not refine. On the right, a zero-set tile is painted from its fit to the photo. A conflict tile keeps two fits, one per view, and shows one of them each tick. The photo is favored: it gets 2 ticks out of every 3 (Favor changes this). Average paints the same tiles with a fixed blend at the same weights, which is the baseline. Since the tiling is shared, both are compared at exactly the same tile count. The readout scores both over one full cycle of ticks in three ways: the gap to the photo, the gap to whichever view is nearer, and the mean gap to both. Back undoes one whole tick and checks that the layout matches the one saved before that tick. Rate sets ticks per second, 1 to 20. Below 4 Hz the flashing stays under 3 times a second; if your system asks for reduced motion, the conflict tiles stay on the photo under a still hatch.
How scale of agreement works
Scale of agreement. Turn it on from Stereo zero. Both views (the photo and the shifted copy or Realize target) are blurred with a Gaussian at six widths, 0.6 to 6.9 px, each one 7^(1/4) ≈ 1.63 times the last, so two blur steps match one aperture-7 level (a tile is about √7 times wider per level). For each tile the lens finds σ*, the finest blur level at which the mean color gap between the two blurred views is under the stereo tolerance. σ* is the tile's depth cap: levels 1–2 let it refine to single hexes, levels 3–4 to 7-hex blocks, levels 5–6 keep it at 49-hex blocks, and a tile that never agrees does not refine. Each tick opens one notch where a tile is coarser than its cap. A tile that agrees already at the finest level is painted from the photo; any other tile takes turns between the views (or blends, with Average), so flicker is only the detail below the cap. Tiles on the left are tinted from green (agree fine) to blue (agree only when blurry); hatched never agree. The readout gives the agreeing area, the area per σ* level, and the same tiles scored by the fixed stereo-zero rule. The border net index is the winding number of the blurred image's gradient around the picture border, which equals extrema minus saddles inside; it is read from the border only, never by counting extrema. Compare scale runs the lens until it stops, then grows fixed stereo zero and Play to the same tile budget. Back undoes one tick exactly.
How light field works
Light field. The photo's brightness, blurred, is used as a made-up relief; it is not a depth estimate of the photo. Tiles are 7-hex blocks. Left is the relief rendered under the chosen light: tone = density × sky visibility + strength × shading, where sky visibility is lower in hollows (the relief minus its own wide blur) and shading is L·n softened by Softness (wrapped as (L·n + softness)/(1 + softness)). Density is light arriving from all round, Direction and Strength are the light vector, Softness widens it. Right shows each tile's invariant notch (dark = in, light = out, grey = flat), read from sky visibility against its neighbouring tiles. Hatched tiles are ones where reading the full tone the same way gives the opposite notch: those are the misreads the flipping part causes. Presets: Caravaggio is one hard light with no fill; Vermeer north light (default) is broad but directed from the left; Hammershøi is nearly even all round; Kinkade lets you tap tiles to make glowing emitters (gold), which light their neighbours and are kept as their own class, not read as surfaces. Back undoes one tap. Monet sweep turns the light through 360° in 24 steps and counts the tiles whose reading holds at every step. Light tests (Advanced) also compare stereo zero agreement (photo relief vs the same relief shifted by Copy shift) using the invariant part only vs full tone, and count misreads when glowing tiles are or are not separated. That first stereo comparison uses one tolerance for two differently scaled signals, so its gap mostly measures the scaling: once units match there is no difference (Dig 44). Fair light test (Advanced) does it fairly: each signal is measured against its own spread, the in/out/flat reading is compared on its own, the light can move 15° or 30° between the two views (the invariant part can only show an advantage when the light changes), and the invariant part is also read at each tile's scale of agreement σ* (same rule as Scale of agreement; tiles finer than 2.58 px use 2.58, tiles that never agree use the coarsest). Its four scales are 2.58, 4.2, 6.83 and 11.1 px, each with a wide blur 2.65 times larger. The invariant part does not use the light, so its numbers are the same at 0°, 15° and 30° by construction. The invariant part holds under the sweep by construction here, since sky visibility does not use the light; the measured question is how often full tone disagrees with it. With reduced motion the sweep shows only its result.
How cap ladder works
Cap ladder. Depth counts how many levels of clusters above a fine hex are open, 0 to 4 for aperture 7. The fold cap comes from a short argument (ours): each open cluster moves only the hexes deep inside it, so the clusters that can move one small triangle all contain it and sit on one ancestor chain. Whether that triangle folds depends only on how far down its chain is open, so each triangle has a fixed depth at which it first folds, and a refusal is just a tile asking to go below that depth. The lens computes that depth for every triangle at the current Shift and takes, per fine hex, the deepest level it can reach. The agreement cap uses the scale-of-agreement rule on the 5 px shifted copy: a cluster splits only if its level is above half its σ*, from the top down. Turn on "Play respects the smaller cap" and Play skips any tile past either cap up front, so it should never be refused. Compare caps grows the plain Play and the capped Play and compares them at the same tile count. Retired: the detour-excess readout from the scale-of-agreement tests. Because a triangle only sees its own chain depth, the shortest path between two states the lens has reached is never refused, so detour excess is always 0 (and a state past a fold cap cannot be reached by any path). The lens checks the argument on every load rather than assuming it. On one photo, not a depth model and not the hairpin depth gate.
How texture or depth works
Texture or depth? With no shift the two views are the same photo, so every tile agrees at the finest blur and its agreement cap is just the deepest level the tiling allows. With the 5 px shift, a tile's cap drops only where the photo changes within about 5 px sideways, which is a property of the photo's texture, not of distance. Grey: the cap is the same with or without the shift (smooth here, so the shift has nothing to bite on, and the tile reads as deep only because it is smooth). Blue: the shift lowered the cap, darker = lowered more. Hatched: with the shift the tile never agrees. The readout gives the share of area in each class and the mean edge strength (blurred brightness gradient, 0–1 scale) in each, which shows whether the classes are sorted by texture. Why this matters: on 9 explore.org frames from three clips, this cap's near/far reading matched two reference depth models (Depth Anything V2 Small and MiDaS small) on 47.8% of pairs, which is chance, while the simple rule "lower in the frame is nearer" got 98.7% (Dig 47). Later tests used two frames from one fixed camera (Dig 48, still no real baseline) and measured Middlebury stereo pairs (Digs 49–52). On one photo, not a depth model and not the hairpin depth gate.
How phase read-out works
Phase read-out. Both views of Cones (Middlebury 2003, Scharstein and Szeliski; views 2 and 6, 160 px wide) are filtered along each row with a complex Gabor filter (wavelength 32, 16 and 8 px, Gaussian width half the wavelength). The second view is first shifted by the Fixation plane, so a tile on that plane has zero residual. In each tile, z = the sum of the second view's filter output times the conjugate of the first's; the residual is arg(z) divided by the filter frequency, in px. It is unwrapped coarse to fine, 32 then 16 then 8 px, because phase alone wraps beyond half a wavelength. Colour follows Math's convention: hue = angle / 2π on a cyclic wheel, east (zero residual, on the plane) is red and angles go counterclockwise, north (drawn up) is +8 px of residual, nearer than the plane; the angle is the residual times 2π/32 px, so the wheel wraps at ±16 px. Brightness is the filter amplitude (confidence). Averages of angles are circular means, and differences are wrapped. A white outline marks tiles read as on the plane (|residual| ≤ 1.26 px, the threshold fixed on the dev scenes in Dig 52). Neighbour shade (on by default) darkens each tile by its neighbour phase disagreement: the mean of |wrapped Δφ| at wavelength 8 px over tiles that share a corner (a 2×2 block touching exactly three tiles with ground truth). The scale is 0 to π radians. Light means those neighbours agree; dark means they do not. This is our reliability read (Dig 57 definition, confirmed Dig 58 on held-out Cloth1/Cloth2: hex AUC 0.880, square 0.878). It is not a tessellation result, and no depth credit is claimed for the hexagon, because squares do the same. Winding dots (off unless the toggle is on) still mark vertices where the wrapped phase differences around three tiles add up to a nonzero winding. That is Math's reading, a diagnostic only: in Dig 52 the phase reading failed more often next to such dots, but the winding does not explain any score gap. The two can be on together, so the shade and the dots can be compared on the same tiles. Right: the agreement cap's signal on the same tiles and the same fixation plane, the finest of six blur levels where the two views agree within 0.06 (darker blue = finer; hatched = never). The readout ranks tiles by each signal against Middlebury's ground truth (a tile is on the plane if its true disparity is within 1 px). Recorded build values; source result artifact not located in the 11 November 2026 audit: this page's functions scored phase AUC 0.876 and neighbour-disagreement AUC 0.823, and a Python port of the shade scored 0.825. Dig 57 measured 0.821. These are not substitutes for each other. On the held-out scenes, Dig 52 measured 0.837 for this read-out against 0.678 for the best block matching. In this tested phase pipeline, matched shapes were tied; changing window size helped. The held-out result belongs to phase stereo, not to the tessellation. Images: Cones from the Middlebury Stereo Datasets (2003), whose site grants permission to use and publish its images and disparity maps and asks that users cite D. Scharstein and R. Szeliski, "High-accuracy stereo depth maps using structured light," CVPR 2003.
6. Notch ladder: one cube at a time
A hexagon of lozenge tiles is a drawing of stacked cubes. One notch turns three lozenges around a corner, which adds or removes one cube. Point at the stack, or press Step or Play, to walk it toward the target one notch at a time. Back walks the same notches in reverse.
How it works
Left is the current stack, right is the target. Each column of cubes has a height, and the rim of the hexagon never changes, so every edge stays closed by construction. A notch is legal only if the result is still a stack: no cube floats and none sticks out past the walls. Notches left is the sum, over all columns, of the gap between current and target height, and each notch must lower it by exactly 1. The check runs on every notch and the result shows above. Realize: pick a preset or click the target to draw your own (Draw switches between adding and removing cubes). Read: the target comes from the citrus photo's blur stack. Each column's height is the number of blur levels (the same six as sections 3 to 5) at which that spot is brighter than the photo's average. That is plain arithmetic. A valid stack can only step down away from the back corner and a photo does not, so the demo tries several crops and mirror images, keeps the one that needs the least squeezing, and reports how much it had to move. Pointing applies the legal notch nearest the pointer that closes the gap. Step and Play flip where the gap is largest.
Math background
Established: for lozenge tilings of a region without holes, the boundary fixes the heights. The number of flips between two tilings equals the summed height difference (divided by 3 in Thurston's corner heights, where one cube counts 3), and always flipping where the difference is largest takes a shortest path (Saldanha and Tomei's overview of domino and lozenge tilings). Ours (a correction to an earlier claim): in 2D, blurring an image can create new bright or dark spots. Only the count along the border is safe, so Read does not count spots. Speculative (ours): that Read and Realize are one notch ladder run in two directions, and that this is a good model of focus. On a height function, it is not a depth model and not the hairpin depth gate.
Strands is illustrative only: it draws a three-way basket weave on the tile edges. Each crossing goes over or under depending on one bit, set by whether that edge lies inside a lozenge. A notch flips the six crossings around its corner. It is a picture, not a computed weave.