Ring locator: contrast ranking, all-round ink check; bench baseline switch

This commit is contained in:
2026-08-16 20:12:33 +01:00
parent e677e270fd
commit b314f01efc
6 changed files with 30 additions and 10 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ window.runBench = async (cfg) => {
clutter(sctx, 960, 720, rnd);
if (!trial.nocode) {
actx.clearRect(0, 0, A.width, A.height);
render(actx, A.width / 2, A.height / 2, A.width / (2 * DISC), trial.theta, trial.bits, trial.anim);
(cfg.v1 ? V1.render : render)(actx, A.width / 2, A.height / 2, A.width / (2 * DISC), trial.theta, trial.bits, trial.anim);
const q = quad(480 + trial.dx, 360 + trial.dy, trial.d, trial.tilt, trial.axis, trial.dist || 3.5);
sctx.drawImage(warp(A, q, 960, 720), 0, 0);
}