Alex KaravaiOpen the rig ↗
Research tool

Two Seconds

A browser rig for testing car touchscreen controls while you drive. It answers one design question: which way of changing the cabin temperature keeps your hand, and your head, on the road longer?

Status. A working tool. I ran it on myself to shake out the method. No study results are published here, and nothing on this page claims one control beats another.

Open the rigRun a session
The rig in a session: on the laptop, a light road with lane lines, a red response light and the prompt Fan to 9; on the right, a paired phone showing temperature and fan sliders, seat heat and rear defrost
The laptop is the windshield, the phone is the center screen. Block 1, touch slider, task "Fan to 9", with the response light up.

Why two seconds

the line the rig measures against

NHTSA's distraction guidelines for in-car screens set the bar a task has to clear before a driver should be allowed to do it while moving. Temperature and fan are in scope. The guidelines are voluntary, and they judge a task on 24 drivers in a simulator with an eye tracker.

2.0 smean glance away from the road, or less
15%of glances over 2.0 s, at most
12.0 stotal eyes off the road per task, or less

Source: Visual-Manual NHTSA Driver Distraction Guidelines for In-Vehicle Electronic Devices, 2013, Section VI.E.14. All three must hold for 21 of the 24 participants. Full text on govinfo.gov ↗

How it works

two screens, two tasks at once

What it records

every number recomputes from the raw log

  • Per task: task time, touches, errors (overshooting the target and coming back), hand time on the screen and the reach toward it.
  • On the road: lane deviation and lane exits while the hand is on the screen.
  • On the light: reaction time and misses. Anticipations under 100 ms are counted apart.
  • With the camera on: each head-pose glance, its start, end and duration.

Each session keeps a raw event log in the browser and exports it as JSON and CSV. Session data is never uploaded. The only traffic is the pairing handshake between laptop and phone, plus the site’s page-view analytics.

What it can’t tell you

limits, stated up front

Run a session

about 10 minutes a person

  1. Sit the person at a laptop with a keyboard and open their link below. Pair your phone on the same Wi-Fi with Use your phone as the screen.
  2. Turn on Camera glances if they agree, and calibrate. Then Sound check.
  3. Start Full study, four blocks. A practice block comes first. Don’t coach once the clock runs.
  4. At the end, export the JSON and name it after the person. Open a fresh tab for the next one.

Each link fixes the order of the four conditions, so across four people every condition comes first once and follows every other once.

PersonLinkBlock order
1?seed=10slider off, slider on, drag on, drag off
2?seed=4slider on, drag off, slider off, drag on
3?seed=8drag off, drag on, slider on, slider off
4?seed=24drag on, slider off, drag off, slider on

"off" and "on" are sound feedback. For more people, start the four again.

How I built it

two sprints, October 2026

  • The question first. I chose a test rig over a 3D car demo, so the piece would produce numbers someone could argue with.
  • The critic’s flags, my calls. The review found that early results could bias the later blocks, so I hid all numbers until the study ends. It found that a pointer left on the screen skipped the hand timer, so each prompt now waits until the pointer is back on the road.
  • Found by playing it. After a click, Space and Enter kept pressing that button instead of answering the light. That bug changed how the rig handles focus.
  • The sounds. I picked the detent, end stop and confirm from nine synthesized candidates.

Agents in my own setup write the code. Scripted checks and an independent critic review every round before it reaches me. Svelte and Three.js.