Inspiration

Everyday objects hide their mechanisms. A textbook flattens them into a diagram, but a pair of glasses can put the explanation on the real object, in your room, at real scale. Cutaway asks one question: what if you could look at a camera, a record player or a lamp and see how it works, then take a copy of it in your hands and try it?

What it does

Cutaway is a Specs lens with two stages for three objects in the room: a DSLR camera, a record player and a paper floor lamp.

Stage 1: watch it explained on the real object. Look at an object and a chip appears. Pinch it, ask "How does it work?", and a five-beat explanation plays on the object itself: light is the ink, and colour means energy (amber for sound and motion, cyan for electricity, warm white for light). Each explanation ends by returning into the object.

Stage 2: "Bring it closer". A light copy peels off the real object, flies across the room and lands on the coffee table with real physics. You can slide it around the table, turn it, and take it apart with one slider into named, solid parts. Then you use it:

  • Camera: the lens bag opens and the lens twists onto the body. Place the candle subject, set the focus, and watch the rays meet, or fail to meet, on the sensor. The image on the sensor is computed with the thin-lens equation, so it is upside down and its blur is real. Take a photo, and a print comes out with exactly that blur.
  • Record player: pick up the tonearm and place the needle on the record. The platter spins up, and the sound comes from the real speaker across the room, with waves spreading from it. Loudness and Pitch sliders change the groove, the signal, the cone and the tone together.
  • Lamp: press the foot switch, and current runs up the cord. The real lamp in the room lights up too. Lift the paper shade off to see why bare light is harsh. Brightness and Warmth sliders change the light, and the Warmth slider's track is the real colour scale from 2700 K to 6500 K.

Why it belongs on glasses

The answer happens in your space, where the object is. The copy lands on a real table surface, you walk around it, and what you do with it changes the real room: the sound comes from the real speaker, and the real lamp lights up. This can't happen on a phone screen.

How I built it

Built with CLAD and the Lens Studio MCP in Lens Studio, in TypeScript. All interaction uses Spectacles Interaction Kit and the Spectacles UI Kit, so every action is a pinch, a grab or a slider.

  • Surface and physics: the table top is found with World Query hit tests, and the copy drops and settles with Lens Studio physics. The test suite checks that it rests within 2 mm of the surface.
  • Models: the camera replica is a CC-BY model, lens split from the body, with its internals built in code. The record player and the lamp are modelled in code from reference images, and their measurements match the room objects within about 1%.
  • Live physics, not animation: the camera's image comes from 1/f = 1/d_o + 1/d_i. The record player's rings are spaced at the sound's real wavelength in air, 34300 / f cm. The tone is synthesized live. The lamp's colour comes from a blackbody approximation of colour temperature.
  • Tests: a LEAF test suite covers every stage, and the tests were run one at a time from the default preview pose.
  • Design system: one visual language across all three objects, with a halo that outlines the object you are looking at.

Challenges

  • Additive display: black is invisible on Specs, so the dark camera and record player had to be re-lit to read as objects made of light.
  • Performance: the first lamp and record player stages were heavy in the preview. Rebuilding meshes every frame and synthesizing audio sample by sample were the causes, and I fixed them in a dedicated performance pass.
  • Placement without recognition: the preview can't recognize objects, so the markers were placed by hand.

What I learned

Planning with the design brief first, then building, then tuning with design notes, kept a large build under control. Tests that check physics (landing accuracy, optics numbers, ring spacing) caught problems that screenshots would not.

What's next

Real object recognition and depth from the device, the same hands-on stage for more objects, and an AI-written explanation for any object you look at.

Who it's for

Curious people and learners: students, families at home, and visitors in classrooms or museums, anyone who wants to see how an everyday object works without taking it apart.

How the Devpost Learn skill pack helped

The plan-lens skill turned the idea into a design brief (devpost/design-brief.md) before any code: one spatial moment, what the preview can stand in for (hand-placed markers instead of recognition), five checkable done criteria, and the risks. CLAD built from that brief, and the done criteria became the LEAF tests.

Honest notes

  • Built and tested in the Lens Studio preview. I had no Specs device.
  • Recognition is a stand-in: hand-placed markers over the objects, and pinching the chip stands in for recognition.
  • The explanations are pre-written for each object. No live AI is used, so the demo never depends on it.
  • The waves and the groove are slowed and magnified so the eye can follow them.
  • In the preview, the surface hit test finds nothing, so the table height is a measured fallback. The World Query code is in the lens.
  • The optics use a scaled thin-lens model.

Credits

This work is based on "Canon EOS 5D Mark IV" (https://sketchfab.com/3d-models/canon-eos-5d-mark-iv-33001ed6f05042d89ac8690ffaaed0a4) by RAW (https://sketchfab.com/ocbsketch), licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/). Changes: lens split from the body, textures resized, material replaced with an emissive ghost shell, and code-built internal parts added.

Links

Code: https://github.com/Havalz/cutaway

Built With

  • clad
  • claude-code
  • git
  • leaf
  • lens-studio
  • lens-studio-mcp
  • specs
  • spectacles-interaction-kit
  • spectacles-ui-kit
  • typescript
  • world-query
Share this project:

Updates

Submission history