Screenery

Halcyon Lens

AR glasses product page template ยท Shops and makers

Open live preview Open full screen Download .zip

Halcyon Lens, an AR glasses product page: the first screen at desktop width

Spatial computing in daylight: a calm, sunlit living room rendered in three.js, seen through the glasses, with real HTML panels floating in it at depth. Focusing one panel brings it forward while the room and the others soften behind it.

The first screen is a soft daylight living room, rendered live in three.js from rounded boxes: a sage sofa, an oak coffee table, a floor lamp, a plant and a print, lit by low sun through a window with soft shadows. A calendar, a recipe timer, walking directions and live captions float in the room as real HTML panels placed by CSS3DRenderer. Drag, move the mouse or use the arrow keys to turn your head; nearer panels shift against the room so depth reads as parallax. Select a panel and it comes forward while the room and the other panels dim and blur; Escape lets go. Focus, Social and Off change which panels are in the room, and Social types a short conversation as live captions with speaker labels.

Below the room, one lens is drawn with its four layers pulled apart by a slider: cover glass, dimming film, waveguide with the hinge projector, and the magnetic prescription insert. Comfort breaks the 49 grams down by part and spends a Thursday's 4 hours of display time minute by minute; the case's three charges make 16 hours. The privacy section explains the wired camera light with a live hinge drawing, then prescription inserts, and the Arc and Plane frames compared.

The order form picks a frame, colour (Plane comes in two) and size through a hinge-to-hinge fit guide, then takes a prescription typed in by hand with specific validation for sphere, cylinder, axis, PD and the prescription's age. It shows loading, an error that keeps everything entered, and a reserved order with its summary. Questions and the footer close the page. Without WebGL, or with reduced motion, the room is a layered SVG drawing with the same panels, modes and focus.

The brand is fictional: Halcyon Lens, fictional 49 gram AR glasses from a small studio by the harbour. Names, people and figures on the page are invented.

What works

  • Look around: drag, mouse movement or arrow keys on the room turn the head within limits; Home recentres; it drifts back after a few quiet seconds
  • Focus a panel by clicking it or its heading button; others dim and blur, the room blurs; Escape or a click on the room releases it
  • Mode switch Focus / Social / Off as a radio group with arrow keys; panels fade back into depth when hidden
  • Recipe timer: start, pause, resume, add a minute, reset, and a finished step
  • Live captions type a fictional conversation word by word with speaker labels; pause and resume
  • Exploded lens slider with layer highlighting from the list
  • Privacy light demo for four camera states
  • Compare table buttons choose a frame in the order form
  • Order form: frame, colour availability, fit guide that selects a size, manual prescription with specific inline validation, email, loading, error, success and change order

States you can link to

script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.

ParameterWhat it does
?mode=socialSocial mode: live captions typing and directions only. Open ?mode=social
?mode=offOff mode: no panels, just the room. Open ?mode=off
?focus=captionsswitches to Social and brings the captions panel forward (also calendar, timer, nav). Open ?focus=captions
?state=successfills a demo order with a prescription and shows the reserved order. Open ?state=success
?state=errorfills and submits, the payment step cannot be reached; continuing again succeeds. Open ?state=error
?noglskips WebGL and shows the layered SVG room with the HTML panels. Open ?nogl

Use it

Copy templates/spatial/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.

The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.

Inspection

Loaded in Chromium 156.0.8078.4 (Playwright, headless) on 27 November 2026 at 1440, 1024, 768, 390 pixels wide and once more with reduced motion requested. Every check passed at every width.

1440 px
Pass
1024 px
Pass
768 px
Pass
390 px
Pass
Reduced motion
Pass
Page weight
365 KB, 10 requests

Requests and transferred size were measured at 1440 pixels on a cold cache and include web fonts and any CDN library. The full result is in the viewer: open the Checks panel. How templates are checked.

Back to all 78 templates