Learn AR with SPECS · Round 2 · a Spectacles Lens
Look at someone for a second and a half. They light up and nod.
Rehearse a talk to six listeners on cushion seats standing in for your sofa. Hold your head on one for 1.5 s and they nod; ignore them and they fade.
Built with CLAD over the Lens Studio MCP. Tested in the Lens Studio preview: 12 of 12 LEAF scenarios pass. No headset was used.
Hold for 1.5 s. Let go early and nothing happens.
landed 5 t=24.61, log line 40). A LEAF script turns the view, not a head.Stop 1 · the demo
Two runs, one room, 2:13.
Stop 2 · one look
Hold for 1.5 s. Contact lands.
PANDANG landed 5 t=24.61 frame_t=24.61 nods=2 evidence/demo-takes-2026-11-29.log:40
Same camera pose, two moments of the LEAF capture_take1 run in the Lens Studio preview. To play the 1.5 s itself, hold the card at the top.
Stop 3 · the debrief
End the talk. The room keeps score.
pass=false glow=0.45,0.62,0.71,0.00,0.00,0.59 log:43
pass=true glow=0.91,0.89,0.86,0.85,0.83,0.81 log:114
Both frames: Lens Studio preview, same camera stepped back 4 m, four of the six listeners in view. Coverage is the average share of the talk the listeners stayed warm; the number is floored (0.394 shows 39 %, 0.858 shows 85 %). 70 % passes.
Stop 4 · the source
Read what was built, and how.
- Repositorygithub.com/edycutjong/pandangThe Lens Studio project, LEAF scenarios, the run logs behind every number here.
- 10 CLAD promptsprompts/, in orderEvery prompt sent to CLAD while it drove Lens Studio, as sent.
- Demo videoyoutu.be/BbVBHtfD6FcThe same 2:13 cut on YouTube, with English subtitles.
- The plan-lens briefdevpost/design-brief.mdThe one spatial moment, the stand-in seats and five done criteria.
Receipts
Every number is a line in a run log in the repo. Follow the source under each.
- 12/12 LEAF scenarios passed in the Lens Studio preview, 0 failed evidence/leaf-2026-11-29-p6b.log
- 0.889vs0.471 Even attention passes; ignoring half the room fails leaf-2026-11-29-p6b.log:51, :53
- 21+17 Pure checks also pass under Node, outside Lens Studio pure-node-2026-11-28.log:23, :41
- ≤0.001 TypeScript model vs an independent Python reference, on all 16 fixtures leaf-2026-11-29-p6b.log:6–21
- 10 CLAD prompts published, in the order sent prompts/README.md
- 85%vs39% The demo's two takes: every listener in turn, then one side favoured demo-takes-2026-11-29.log:114, :43
Six listeners, four rules.
Six seats in a 120° arc, 2.5 m out. Head direction is the only input while you talk; Start and End are one pinch each.
- 1.5 sHold your view on a listener and contact lands: it warms and nods. A shorter glance does nothing.
- 8 sAfter your last look, it starts to cool.
- 15 sFaded to 30 %, with one chime from a sound source at its own seat.
- EndEach listener glows for its share of the talk spent warm, under one coverage number. 70 % passes and they applaud; below, the dim seats pulse once.
All thresholds live in PandangConfig.ts.
Turn with the pointer, a horizontal drag, or ← →. The amber wedge is a 32° field of view: one or two listeners at a time.
attention.js, a JavaScript copy of AttentionModel.ts with the Lens's constants.Check the copy: replay the repo's 16 reference timelines in your browser and compare each result with the logged TypeScript run.
Why it needs glasses
A screen puts the whole audience in one rectangle, so you stare at one spot again. Pandang spreads six listeners across the room at real scale. The preview shows about 32° of a 120° arc, so one or two are in view at a time: you turn your head to find the rest, hands free.
The ones out of view reach you another way. Each fading listener chimes from a sound source at its own seat.
Assets/. Open the full-size diagram; source docs/architecture.html.Planned, prompted, tested, judged, fixed.
- Plan
The
plan-lensinterview wrote the brief: the one spatial moment, stand-in seats for your furniture, five done criteria. - Prompt
CLAD drove Lens Studio over the Lens Studio MCP in 10 prompted turns. Between turns, smaller fixes went in directly with Claude Code; the commit history shows both.
- Test
Every done criterion became a LEAF scenario. From turn 05 on, CLAD re-ran the suite in the same turn: 12 of 12 pass in the preview.
- Judge
CLAD's own
lens-evaluationskill (five AI judge personas, not people) scored visual quality lowest. - Fix
Prompts 08–10 turned its notes into design changes: seated, solid, alive. LEAF stayed 12/12 after each turn.
“The attention model runs like a Swiss watch; the audience is six chess pawns that blush on cue.”
edcaea9, the one lens-evaluation scored: a frame from its own preview capture.
- 01Basic flowspecs-experience-builder
- 02First LEAF scenariolive-lens-tester
- 03The fade chimestep-music
- 04The applausestep-sfx
- 05LEAF scenarios for done criteria 2–5live-lens-tester
- 06Audio queue, room-floor fitlive-lens-tester
- 07Coverage number on the arc centrelive-lens-tester
- 08Polish: warm, seated, alive listenerslive-lens-tester
- 09Polish: legible button, solid waitinglive-lens-tester
- 10Polish: one clean silhouettelive-lens-tester
Run it yourself
With Lens Studio 5.25 or newer
- Clone the repo and open
Pandang.esproj. - In the Preview, press Start. Right-drag (or hold Shift) to look; a click is the pinch.
- Hold the view on a listener for 1.5 s. Look away from the others for 15 s.
- Open the LEAF panel and run the 12 scenarios.
Without Lens Studio
git clone https://github.com/edycutjong/pandang.git
cd pandang
# the 21 + 17 pure checks, under Node
tests/node/run-pure.sh
# the Python reference, byte for byte
tests/reference/check-fixtures.sh
Needs Node (with tsc or npx) and Python 3.
What the preview can’t prove
- Preview only. No Spectacles device was available. Every run on this page is the Lens Studio preview, with the view turned by the mouse or by a script.
- Head direction, not eye gaze. A look counts when the centre of your view is within 10° of a listener.
- Feel unproven. How 1.5 s feels on a real head while talking, how the number reads at 2.5 m, and whether you can hear a chime’s direction: only glasses can tell.
- The seats are stand-ins. Six cushion blocks stand in for your sofa and chairs; the Lens does not find furniture.
- The pace is strict. With the brief’s timings, a relaxed 3 s look per listener fails at every run length from 30 s to 3 minutes (0.489 to 0.612), and even a brisk lap leaves each listener 10 to 12 s between looks, so everyone starts to cool every lap. We kept the brief’s numbers rather than tune the result. reference-model log