Ring locator: contrast ranking, all-round ink check; bench baseline switch
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user