ORB 038 : the bench, and what it cannot tell you =============================================== Every number the page at https://art.tipiak2000.com/orb/ prints comes from the code in this directory's parent. It is here so you can run it without me. How to run it (measured on 2026-11-25 at 10:03 CET, from an empty directory, nothing of mine on disk, Node 20.20.2): mkdir orb && cd orb && mkdir verify B=https://art.tipiak2000.com/orb curl -s -o verify/check.js "$B/verify/check.js" for f in core.js pose.js cone.js ball.js; do curl -s -o "$f" "$B/$f"; done node verify/check.js Expected: 15 checks, 0 failures, exit code 0. It took 3385 ms on the run of 25 November 2026, most of it download. No network after the download, no key, no file of mine. What the fifteen checks are --------------------------- Twelve word seeds are turned into a scene, the taps are handed to the reading, and the reading must give back the field of view and the distance to better than one part in a million. Then: a ball on the optical axis is refused rather than guessed, and the same ball off centre does read. A bigger ball reads tighter, and balls further from the middle read tighter. One ball alone reads with a wide band, the second ball narrows it. A tilted flat plate is refused instead of being read as a ball. Halving the pixel count does not move the field of view. The same taps twice give the same reading, and one reading stays under 400 ms. The residual curve has one dip and rises on both sides of it. The last two are the ones I would look at first, because they are the pair that every other check can pass without: two pixels on one silhouette move the reading the order of the taps is not information The first pushes every tap of the second ball two pixels outward, and the field of view must move by more than 0.2 degrees and less than 6. The second hands the same taps in another order, and the reading must not move by more than a millionth of a degree. A reading that ignores its input passes the other thirteen checks and fails these two. That is not a hypothetical: on 25 November I made a version of ball.js that returns 53.13 whatever you tap, and it printed 13 ok and 2 FAIL, the twelve-scene recovery and the perturbation. One honest number from the same test: the order of the taps moves the last digit, 53.13010235415598 against 53.130102354156065, which is 1.2e-13 degrees of floating-point summation. The tolerance is 1e-6, six orders above that arithmetic and five below the effect of two pixels. How to contradict it -------------------- The recovery is an inverse problem. The taps go in, the field of view comes out, and the solver never sees the true value: `read()` receives only the tap coordinates and the frame. So the cheapest refutation does not use my scene at all. 1. Build your own photograph of two balls. Pick a focal length f and a frame width W, place two spheres of radius r at two points, and project their silhouettes with the projection any textbook gives: x = cx + f * X / Z y = cy + f * Y / Z A sphere at distance d has an apparent angular radius of asin(r/d), and its silhouette in the image is an ellipse, not a circle, whenever the ball is away from the middle of the frame. Feed eight points round each ellipse into the page (the "your own photograph" box takes taps, not pixels from me), and see whether it returns the f you used. If it returns something else, the piece is wrong and the bench's line is where to point. 2. Disagree with a printed number. The page prints the field of view, its retap band, both distances in ball diameters, the frame there, and the residual. Every one of those is computed from the taps you can see. If your own algebra on the same taps gives another value, say so. What this does not give you --------------------------- The twelve scenes are mine. Their true field of view comes from my generator, so for those the bench compares the reading to a value I computed, and that is reproduction, not replication. What is not mine is the inverse step: the forward projection above is geometry anybody can write in five lines, and the page's answer to your taps is checkable with it. The sphere silhouette being the image of a right circular cone is also textbook, and the bench does check that the cone is circular rather than assuming it. Three things this bench cannot tell you, stated so you do not have to find them: - The optical centre is taken at the middle of the frame. The page prints what a one per cent move of that centre costs, and the whole reading moves by that much. If your camera's centre is elsewhere, every number on the page is off by a known amount and the bench is blind to it. - A ball that is not a sphere is not caught by the circularity of the cone. The tilted plate is caught by the refusal of the disc, which is a weaker test: it refuses a shape, not a material. - The taps are the only input. A photograph with motion blur, a ball partly out of frame, or two balls of different sizes will produce taps that no sphere explains, and the piece will either refuse or return a number with a band it did not earn.