// THE MOVING START (module `peak`, region `peak`): the weight he says he // started at, as he retells it -- each telling a tick on a small vertical // scale with its value and its count (365.7 → 370 → 385 → 387 → ≈390 ×5), the // drift from the lowest to the highest bracketed. Read off the schedule's // measure slice (`render.chrome.deck.peak`; measure-extras.mjs peakStates, // chrome-measure-extras.mjs peakHtml). import { peakHtml } from "../chrome-measure-extras.mjs"; import { peakStates } from "../measure-extras.mjs"; import { measureExtraModule } from "./measure-extras-module.mjs"; import { PEAK_VALUES } from "./measure-extras-settings.mjs"; export default measureExtraModule({ id: "peak", z: 67, title: "Moving start", summary: "The starting weight as he retells it: a tick per telling on a small scale, a count per repeat, the drift bracketed.", states: peakStates, html: peakHtml, needs: "a remembered starting weight", ui: [ { key: "title", type: "text", label: "Heading", default: "The start keeps moving" }, { key: "values", type: "enum", options: PEAK_VALUES, label: "Which remembered weights", default: "drift" }, { key: "color", type: "color", label: "The drift's colour (default the needle's red)" }, ], docs: { intro: "The weight he says he started at, as he retells it (`render.chrome.deck.peak`, measure-extras.mjs): each remembered weight that is one of the measure totals' `peakDrift` values (`values: \"drift\"`; `all` draws every remembered weight) adds a tick on a small vertical scale -- the scale's range is fixed over the whole cut, so nothing rescales -- with its value, a retelling of the same number a count (\"≈390 ×5\"), the newest lit; the spread from the lowest to the highest so far is bracketed in red and written under it (\"+24.3 lb\"). Up for `hold` seconds after each telling (default 12).", rows: [ ["`deck.peak`", "`true` · `false` · `{show, position, x, y, scale, hold, finale, title, values, color}` · default on with a measure slice", "`umtool look
deck.peak=false`"], ["`deck.peak.position`, `.x`/`.y`, `.scale`", "an anchor in the footage box · design px · 0.5–2 · default `top-right`, unset, 1", "`umtool look
deck.peak.scale=0.9`"], ["`deck.peak.hold`, `.finale`", "0 (stays up) or 2–600 s · `hide` `show` · default 12, `hide`", "`umtool look
deck.peak.hold=0`"], ["`deck.peak.title`, `.values`, `.color`", "≤40 · `drift` `all` · #hex · default \"The start keeps moving\", `drift`, #FF5A4E", "`umtool look
deck.peak.values=all`"], ], }, });