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.

Lens Studio preview · real frames

Hold for 1.5 s. Let go early and nothing happens.

Uncut frames from the demo's first run: listener 5 won back (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.

Lens Studio preview · view driven by a script Voice-over by ElevenLabs TTS; music and effects synthesized by CLAD.

Stop 2 · one look

Hold for 1.5 s. Contact lands.

Lens Studio preview: a seated low-poly listener, slumped and translucent pale blue, with a white ring a little under half filled around its head.
Faded. 15 s after the view left, slumped and pale. The ring counts the held look.
The same listener and camera pose, now upright and lit warm amber, the ring closed around its head.
Landed. Warm and upright again; it nods, its second nod of the run.

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.

Lens Studio preview debrief, camera stepped back 4 m: 39% in large linen-white wood type; two listeners on the left still warm, two on the right faded to translucent pale blue.
39 % Favoured one side. 28.6 s, two listeners never looked at. Fails: no applause. pass=false glow=0.45,0.62,0.71,0.00,0.00,0.59 log:43
The same stepped-back view after the passing run: 85% in large amber wood type above four warm seated listeners, every one lit.
85 % Every listener in turn, about 2 s each. 90.3 s. Passes: applause. 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.

Receipts

Every number is a line in a run log in the repo. Follow the source under each.

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. 1.5 sHold your view on a listener and contact lands: it warms and nods. A shorter glance does nothing.
  2. 8 sAfter your last look, it starts to cool.
  3. 15 sFaded to 30 %, with one chime from a sound source at its own seat.
  4. 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.

Try the rules
coverage so far —

Turn with the pointer, a horizontal drag, or ← →. The amber wedge is a 32° field of view: one or two listeners at a time.

A sketch, not the Lens: no room, no head, no sound, yaw only. It runs 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.

Lens Studio preview, scripted view from a LEAF run, no headset, silent: an 11.5 s cut of the demo's uncut first run. Speeds are labelled on every frame.
Architecture as built: MainButtonUI presses into PandangController; every frame it reads the view (GazeSource), resolves which listener it is on (AimResolver), steps the AttentionModel and renders six ListenerViews; AudioCues plays the fade chime and applause; DebriefUI shows the number; LEAF tests drive and check it.
Under the Lens: every box is a file in Assets/. Open the full-size diagram; source docs/architecture.html.

Planned, prompted, tested, judged, fixed.

  1. Plan

    The plan-lens interview wrote the brief: the one spatial moment, stand-in seats for your furniture, five done criteria.

  2. 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.

  3. 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.

  4. Judge

    CLAD's own lens-evaluation skill (five AI judge personas, not people) scored visual quality lowest.

  5. 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.”

Before: two translucent white pawn-like figures without arms, either side of the End button.
Before prompt 08. Build edcaea9, the one lens-evaluation scored: a frame from its own preview capture.
After: two solid oat-coloured low-poly listeners seated on cushion blocks, hands on their laps, either side of the End button.
After prompt 10. The same default view after Start, Lens Studio preview.
  1. 01Basic flowspecs-experience-builder
  2. 02First LEAF scenariolive-lens-tester
  3. 03The fade chimestep-music
  4. 04The applausestep-sfx
  5. 05LEAF scenarios for done criteria 2–5live-lens-tester
  6. 06Audio queue, room-floor fitlive-lens-tester
  7. 07Coverage number on the arc centrelive-lens-tester
  8. 08Polish: warm, seated, alive listenerslive-lens-tester
  9. 09Polish: legible button, solid waitinglive-lens-tester
  10. 10Polish: one clean silhouettelive-lens-tester

Run it yourself

With Lens Studio 5.25 or newer

  1. Clone the repo and open Pandang.esproj.
  2. In the Preview, press Start. Right-drag (or hold Shift) to look; a click is the pinch.
  3. Hold the view on a listener for 1.5 s. Look away from the others for 15 s.
  4. 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

  1. 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.
  2. Head direction, not eye gaze. A look counts when the centre of your view is within 10° of a listener.
  3. 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.
  4. The seats are stand-ins. Six cushion blocks stand in for your sofa and chairs; the Lens does not find furniture.
  5. 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