nishi code wiki / research / ruler-craft

Ruler-craft: descriptive geometry to modern metrology, applied to precision realism

Published · lineage: forks off digital twinning (the precision bars) and serves the marble-doctrine pointing machine directly · question: what measurement CRAFT — classical and modern — lets a few rulers triangulate truth we cannot see directly?

Freshness declared. Search budget exhausted this session: verified to the author's May-2026 horizon plus the corpus; the May→July 2026 tail is UNVERIFIED and flagged inline where it most likely moved (feed-forward reconstruction, metric monocular depth). Re-verify + archive pass queued.
The finding, and it indicts our current instrument. The mason's and draftsman's discipline — Monge's descriptive geometry (1799) — exists precisely because one projection cannot determine a solid: two orthogonal views can. Our pointing machine measures ONE frontal view, which means nose projection, chin projection, brow projection and cheek fullness are not merely imprecise — they are UNOBSERVABLE to it. Every depth judgement we have made about the face was inference, not measurement. The classical fix costs nothing: render a deterministic PROFILE alongside the frontal and measure both. That single change converts our largest blind spot into a numbered axis.

1. The classical ladder (each rung is a ruler used creatively, not a finer ruler)

craftthe trickwhat it buys us
Descriptive geometry (Monge; the stonecutter's tradition)Two orthogonal projections + transfer lines determine every point of a solid; true lengths recovered by rotation into a planeDEPTH becomes measurable. Front + profile of the same frozen pose = the full 3D landmark set. Nose/chin/brow projection, the rhinoplasty angles (nasolabial, nasofrontal, Goode ratio) are PROFILE quantities — unmeasurable frontally, trivial in profile.
Projective invariants (cross-ratio, harmonic range)The cross-ratio of four collinear points survives ANY perspective projection — unknown camera, unknown distanceRatios comparable between OUR camera and THEIR video camera without matching either. The corpus's unknown-optics problem partially dissolves.
Single-view metrology (vanishing points, ground-plane + vertical VP; forensic-grade)Three orthogonal vanishing points recover camera internals; heights and plane distances become metric from ONE photoAbsolute scale from casual imagery when a horizon or any vertical/rectilinear structure is in frame — the SCALE ANCHOR problem the twin brief flagged.
Geodetic network adjustment (triangulation/trilateration, least squares, error ellipses)Never trust one measurement: take MANY redundant ones and let the network adjustment beat the error down as √n; every point ends with an error ELLIPSE, not a guessOur 16 landmarks admit 120 pairwise distances — we currently use ~10 hand-picked measures. Redundancy + adjustment is free precision and gives per-point confidence honestly.
Procrustes / GPA (statistical shape analysis, Kendall shape space)Superimpose two shapes by optimal translation+rotation+scale; the RESIDUALS are the shape differenceKills our anchor bias. IPD-anchoring on two points forces all error elsewhere; Procrustes distributes it optimally, so a residual means shape, not anchor choice.
EDMA (Euclidean Distance Matrix Analysis)Compare the full inter-landmark DISTANCE matrix — coordinate-free, invariant to rotation/translation/reflection, no superimposition choice at allRemoves the “which anchor / which alignment?” argument permanently. Form-difference matrix names exactly which distances differ and by how much.
Thin-plate splines (D'Arcy Thompson's deformation grids, made computable)Warp one shape onto the other; decompose the transformation into AFFINE (global stretch) plus non-affine PRINCIPAL WARPS ordered by spatial scale (bending energy)The marble order as mathematics. Affine component = pass-1 mass. Large-scale warps = pass-2 secondary form. Small warps = relief. The decomposition literally emits the cut list in carve order.
Visual hull / shape-from-silhouetteEach silhouette is a hard geometric BOUND on the solid; N views intersect to a tight envelopeCheap and robust: our render emits exact silhouettes, segmentation gives theirs. Bounds beat estimates — a hull violation is a certain error, not a probable one.

2. The modern rungs (2023–2026) that change the corpus economics

linestatusrelevance
Feed-forward uncalibrated two-view reconstruction (DUSt3R 2024, MASt3R matching; successors through 2025)RESEARCH, rapidly productisingTwo photos of the same subject → a dense 3D pointmap with NO known camera parameters. This is the single most applicable new tool for our archive problem: any two frames become geometry. ⚠ most likely to have moved May→July 2026.
Metric monocular depth (Depth Anything V2, Metric3D/UniDepth class, 2024–25)RESEARCH, strongAbsolute-scale depth priors from ONE frame — a second, independent scale anchor to cross-check the interpupillary prior.
Neural implicit surfaces + 3D Gaussian splatting reconstruction pipelinesRESEARCH → shipping toolsMulti-view video → mm-class surfaces; the practical route to T2/T3 twins from footage rather than scanners.
Dense 2D landmarking + segmentation as commodity (MediaPipe FaceLandmarker 468-point, in-browser)SHIPPINGAlready our detector leg. Its own anatomical prior is a known bias — measured this session at ~30% resistance to contradicting paint.
Bundle adjustment + self-calibration (COLMAP lineage)SHIPPING, matureThe rigorous fallback: many frames, one consistent camera solution, residuals with covariances — the geodesy lesson applied to photographs.

3. What we adopt, in order, and the exit for each

#adoptioncostexit criterion
M1Orthogonal-pair measurement (Monge): a deterministic PROFILE view beside the frontal in the frozen ?anat mode; profile landmarks added to the tableone render lever + reference profile framesnose/chin/brow PROJECTION reported in mm; the rhinoplasty angles measurable at last (nasolabial 105–115° target becomes checkable, not aspirational)
M2Full distance matrix + Procrustes/EDMA replacing 2-point anchoring and hand-picked measurespure math on landmarks we already extractevery point carries an error ellipse; verdicts no longer depend on anchor choice; 120 distances instead of 10 measures
M3TPS decomposition of reference→ours; affine part reported separately from principal warpsstandard morphometrics maththe cut list is EMITTED in carve order (affine → large warps → small warps) instead of chosen by me
M4Silhouette bound check per viewrender already emits alpha; segmentation for the referenceany hull violation flagged as a CERTAIN geometric error — a floor no statistical fit can talk its way past
M5Two-view feed-forward reconstruction on corpus frames (DUSt3R-class) as the T2 twin patha model + a GPU passreference geometry as a 3D pointmap, so our render is compared surface-to-surface, not landmark-to-landmark
Why this ordering is the frugal one: M1–M4 are free precision — classical craft applied to data we already have, no new capture, no new models. M1 alone converts our largest measurement blind spot (depth) into numbers, and M3 makes the instrument, not the operator, decide which cut comes next. M5 is the only rung needing new machinery, and it is the one that eventually retires landmark comparison altogether.

4. The general law this brief exists to state

Precision comes from the CRAFT of measurement before it comes from finer instruments. The mason with a straightedge, a compass and two projection planes cut stone to tolerances that shame a careless machinist with a micrometer — because the method carried the accuracy: redundancy, transfer lines, orthogonal views, invariants that survive the unknown. Our climb obeys the same rule. Every domain in the ecosystem (graphics, geometry, physics, product surfaces) should be asked the same three questions: what quantity is unobservable to my current view? what redundant measurement would let me triangulate it? and what invariant survives the thing I cannot control?

UNVERIFIED / declared gaps