Add /set/spill: on-set green screen spill checker
Deploy / deploy (push) Successful in 35s

- Phone camera or photo -> WebGL shader that classifies every pixel against
  the sampled screen colour; colour-blind friendly (stripes, motion, words)
- Views: Spill, Screen (flat colour), rough live Key, Evenness
- Spill = worse of lean toward the screen hue and the green/blue despill
  limit, tuned on a real Alexa car-interior plate (teal screen, green bounce)
- Plain-English verdict incl. widespread colour cast; tap for readouts
- Pick screen / pick white (neutral reference), freeze, exposure/WB lock
- Service worker caches each /set page under its own path (spill page no
  longer overwrites the markers page offline); link from /set

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-10-07 11:55:24 +02:00
parent 250bf5ac19
commit 52d492506b
5 changed files with 1156 additions and 5 deletions
+12
View File
@@ -1,6 +1,7 @@
"use client";
import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
import Link from "next/link";
import type { Kind, MarkerExtra, MarkerScreen } from "@/lib/markers";
type Mode = "full" | "edge";
@@ -362,6 +363,17 @@ export default function MarkerPicker({ screens, extras }: { screens: MarkerScree
</p>
</details>
<Link
href="/set/spill/"
className="mt-8 flex items-center justify-between rounded-xl bg-white/5 px-4 py-4 transition hover:bg-white/10"
>
<span>
<span className="block font-medium">Spill checker</span>
<span className="block text-sm text-muted">Point your phone at the green screen setup to find spill</span>
</span>
<span aria-hidden className="text-xl text-muted">→</span>
</Link>
<p className="mt-10 text-center text-xs leading-relaxed text-muted">
Touch is locked while a marker is up · hold the top-left corner 3 s for controls · screen stays awake
</p>