Ring code v2: logo disc locator, projective rectification, animated dashes, lab pages, bench tool

This commit is contained in:
2026-11-16 18:15:22 +01:00
parent 4784aaa67d
commit 38557b3958
8 changed files with 736 additions and 138 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ function frame(t) {
const size = Math.min(w, h) * 0.9;
if (MODE === "ring") {
// one full turn every 45 s
render(ctx, w / 2, h / 2, size / (2 * DISC), (t / 1000) * (2 * Math.PI / 45), bits, lab.center);
render(ctx, w / 2, h / 2, size / (2 * DISC), (t / 1000) * (2 * Math.PI / 45), bits, t / 1000);
} else {
const m = lab.classic[idx].modules, n = m.length, s = Math.floor(size / (n + 8));
const x0 = (w - n * s) / 2, y0 = (h - n * s) / 2;