Inspiration
In 2023, 1,075 construction workers died in the US. Falls were 421 of those (39%), and struck-by and caught-in incidents were at least 111 (Maryland Occupational Safety and Health, from BLS figures). A worker on his first day has no way to know where a crane swings, or which opening in a floor is still uncovered. A site map on a phone cannot put that boundary on the ground in front of him, and looking down at a phone near a floor opening is itself the hazard.
What it does
Site Zones puts the hazard boundaries where they belong: on the ground, at real size.
The supervisor wears the glasses and marks a zone: pinch Start Zone, pinch the ground to drop corner markers, drag a marker to adjust the shape, pick the hazard type (Crane swing area or Floor opening), and Save. He can mark as many zones as the site needs.
The electrician, arriving for the first time, puts on his glasses at his truck and a path of light chevrons appears on the ground to his work area. As he walks, each zone appears when he is within 5 m of its edge, with a Danger sign standing inside it, facing him: yellow on approach, red within 1 m. If he drifts toward a zone while looking somewhere else, a loud beep sounds and an arrow at the edge of his view points to the danger. Both stop when he looks at the zone or moves away. Near the end of the path, his work area is outlined and labeled.
Why glasses
- It draws in the world: the path and the zone edges sit on the ground at real size, where they apply.
- It leaves his body free: hands on tools, eyes up while walking.
- It shares his view: the warning depends on where he is and where he is looking. A sign or a map cannot reach him when he is looking the wrong way. The beep and the arrow can.
Safety standards
Site Zones reinforces the physical barriers, covers and signs that OSHA requires. It does not replace them. The crane zone follows 29 CFR 1926.1424 (work area control), the floor-opening zones follow 1926.501 and 1926.502, and the Danger sign wording and colors follow 1926.200. Sources are in devpost/standards-baseline.md in the repo.
How I built it
I planned it with the Devpost Learn skill pack (the design brief and the standards research are in the devpost folder) and built it in Lens Studio with the Spectacles Interaction Kit and UI Kit, using the Lens Studio MCP. The scripts, tests and the stand-in site generator were written with Claude Code, an AI coding assistant. I made the design decisions and reviewed the Lens in the preview. The stand-in job site is built in Blender from a script in the repo, and the warning beep is generated by a script too. The narration in the video is an AI voice (ElevenLabs).
How I tested it
Five LEAF scenarios, one per done criterion in the design brief, drive the Lens in the Lens Studio preview the way a person would: pinching the buttons and the ground, dragging markers, walking and turning the wearer. They check that zones are kept in the right places at real size, hidden from the truck, shown with a Danger sign facing him within 5 m, and that the beep and arrow start and stop correctly. All five pass. There is also a guided tour scenario that plays the whole flow, which is what the video shows.
What needs real glasses and is not claimed: how loud the beep is on a noisy site, how readable the path is in daylight, and how a real hand pinch feels at floor distance.
Challenges
- Making the warning fair: it only fires within 2 m of a zone's edge and when the zone is more than about 20 degrees from the center of his view, with small margins so it does not flicker on the threshold.
- Matching LEAF to the Interaction Kit version. LEAF 2.0.2 pairs with Interaction Kit 2.0; the newest LEAF did not compile against this project.
What is a stand-in
No SPECS device was available. The job site is a model built in Blender for the preview. A Supervisor / Electrician switch stands in for two people wearing their own glasses, and zones are shared between the two views inside one Lens. Zones are kept only while the Lens runs. The route is pre-laid and does not re-route around new zones. The crane's rotation is an animation.
What's next
Zones shared between real devices and kept after the Lens closes, a route that goes around newly drawn zones, zones that expire, and sensing the real site so the supervisor's markings line up with the real world.
Disclosures
- New Lens built for this round. No code from the earlier round's Lens (ParSight) is used.
- AI assistance: Claude Code (code, tests, site generator). Narration: an AI voice (ElevenLabs).
- The video's opening is an AI-generated illustration.
- The Lens does not record, identify or follow people. The glasses are not rated safety eyewear.
Built With
- blender
- claude-code
- elevenlabs
- leaf-testing
- lens-studio
- spectacles-interaction-kit
- spectacles-ui-kit
- typescript