Distance-Calibrated Vision Test — Prototype

This is a first working pass of the core mechanism: your camera estimates real-time viewing distance, and the on-screen eye chart resizes to stay accurate no matter how far or close you are. Everything else (per-eye comparison, photoscreening, convergence test) builds on top of this once it's confirmed working.

Prototype notice: this uses face-tracking in the browser (MediaPipe) which can be finicky on first run — expect to need lighting/positioning adjustments and possibly a round of debugging, same as the hearing test did on day one.

Step 1 — Camera & Calibration

Grant camera access, then hold a standard credit/debit card flat against your screen and adjust the slider until the dashed outline matches the card's real size exactly.

Idle — camera not started.