Inspiration
SpaceClip was inspired by Iron Man. In the films, Tony Stark looks at a real object, turns it into a glowing hologram, then grabs it, pulls it apart, resizes it and throws parts away with his hands. We wanted to bring a small piece of that to real life on Snap Spectacles: look at something in your room, turn it into glowing 3D lines, and edit it right where it stands, before you move a single thing.
What it does
- Clip: look at an object and press Clip. SpaceClip picks the object in the center of your view and traces it in glowing cyan lines, from bottom to top in about one second, at its exact position and size.
- One clean wireframe per object: clipping the same object again simply redraws it instead of stacking lines.
- Select a part: every object is made of parts (a book on a shelf, a monitor on a desk). Tap a part and it turns bright yellow-orange.
- Delete: the selected part bursts into sparkles while the rest stays, so you can see your space without the clutter.
- Undo: brings the last deleted part back.
- Scale and move: resize a clipped object 20% at a time, or pinch and hold to move the whole wireframe and try a new layout.
- Save: keeps a clipped object as a card.
In the Lens Studio preview these actions use a button row (Clip, Undo, Delete, Save, +, −) that stays at the bottom of the view, plus keyboard shortcuts. On Spectacles they map to hand gestures: pull apart with both hands to scale, flick a part away to delete it, and hold an open palm to undo.
How we built it
- Built in Lens Studio 5.24.1 for Snap Spectacles.
- Development was driven through the Lens Studio MCP and CLAD, with an AI coding agent writing and iterating on the TypeScript components, and the planning docs kept in the
devpostfolder of the repo. - The wireframe is generated from each object's box pieces: sharp edges and silhouette lines are built as glowing line meshes and revealed with a bottom-to-top trace-in animation.
- Each piece is its own selectable unit, so selection, delete (with a sparkle burst), undo history and scaling all work per piece.
Demo furniture (an honest note)
The furniture in Lens Studio's sample room is only a background for the preview, so a Lens cannot read its shape. For this demo we added our own furniture to the scene, built from simple box pieces during the hackathon: a chair, a table, a bookshelf with shelves and books, and a computer with a monitor, stand and keyboard. This lets the Lens know their exact shape and shows precisely how clipping and editing work. On real Spectacles, SpaceClip would use the World Mesh to capture real objects instead, with coarser detail than our demo objects.
Challenges we ran into
- The preview room can't be outlined: we first tried to trace the sample room's furniture from depth and mesh data, but there was nothing to read in front of the camera, so the lines could not match. Adding our own demo objects solved this and made the lines match exactly.
- Version compatibility: some newer packages target an unreleased Lens Studio version and broke the build on 5.24.1, so we kept them out of the project.
- Interaction details: button taps were clearing the selection before Delete ran, repeated Clip presses stacked wireframes, and the button row was cut off at the screen edges. Each was fixed by keeping the behavior simple and predictable.
Accomplishments that we're proud of
- Lines that sit exactly on the object, traced in like a scan.
- Per-part editing: deleting a single book from a shelf, and getting it back with Undo.
- A clean, minimal interface: the Lens starts quiet with only a Clip button.
What we learned
- How Spectacles Lenses handle hand input, scene objects and world understanding, and where the preview differs from the device.
- That keeping the design minimal (one wireframe per object, one clear selection color) makes the experience much easier to understand.
- How to work with an AI coding agent through the Lens Studio MCP, and how to check its work against the real preview.
What's next for SpaceClip
- Clip real objects on device from the World Mesh.
- Full hand-gesture controls on Spectacles.
- Saving clipped objects and sharing room layouts with others.
Built with and AI disclosure
Lens Studio, Lens Studio MCP, CLAD, TypeScript. The Colorful Home sample room comes with Lens Studio's preview. An AI coding agent (in Cursor) wrote much of the code under our direction, and AI helped draft this text and the video voiceover.
Built With
- clad
- cursor
- lens
- snap
- spectacles
- typescript