Samples
A comprehensive collection of templates and examples for building Lens experiences on Spectacles.
If you wish to use a feature that is not listed below or want to contribute to our sample repository, leave a feedback to our team or check out our Samples Repository.
AI
AI-powered experiences and integrations

AI Playground
Sample project for AI in using Spectacles Remote Service Gateway.

Agentic Playground
Sample project demonstrating agentic AI capabilities with Remote Service Gateway.

Crop
Sample project showing how to "crop" the environment using hand gesture.

Depth Cache
Cache depth frames for pixel-to-3D projection with cloud-based vision models.

AI Music Gen
Generate AI music using Google's Lyria model. Combine genres, vibes, and instruments to create custom music tracks with 3D visualizations.
Getting Started
Essential projects to get you started with Spectacles development

Fetch
Sample project using the Spectacles Fetch API.

Essentials
Collection of foundational concepts for creating lenses in Lens Studio.

Material Library
Experimental project collecting Materials tested on Spectacles.

Public Speaker
Teleprompter lens for public speaking practice and presentation delivery.

Spatial Image Gallery
Convert your 2D images to 3D.

Throw Lab
Sample project demonstrating realistic throwing mechanics in AR.

Spatial Persistence
Template project using Spectacles Spatial Anchor API.

Voice Playback
Sample project for recording and playing back audio on Spectacles.

Path Pioneer
Sample project for path creation and path walking experience.

Spectacles Mobile Kit
SDK for seamless communication between mobile applications and Lenses running on Spectacles via BLE.

Snap Cloud
Demonstrates how to use Snap Cloud (powered by Supabase) with Spectacles for database storage, real-time sync, cloud storage, and serverless edge functions.
SnapML
Machine learning projects using SnapML

SnapML Starter
Demonstrates how to leverage SnapML on Spectacles for object detection using custom machine learning models.

SnapML Chess Hints
AI-powered chess move suggestions using computer vision and SnapML to detect pieces and provide intelligent assistance.

SnapML Pool
Uses SnapML to detect a pool table with all 16 balls and pocket holes.
Navigation
Location-based and navigation experiences

Custom Locations
Map real life areas and create AR experiences around those locations.

Outdoor Navigation
Outdoor navigation system using Map Component and Places API.

Navigation Kit
An example project for indoors or outdoors navigation.
Connected Lenses
Multi-user collaborative experiences

Shared Sync Controls
Real-time collaborative AR experience for shared controls.

Tic Tac Toe
Sample Connected Lens project using Spectacles Sync Kit.

Laser Pointer
Create laser pointers on a virtual object that are visible to all connected users.

High Five
Real-time collaborative AR experience for high-five interactions.

Air Hockey
Sample Connected Lens project using Spectacles Sync Kit.

Think Out Loud
Social AR networking application with floating status panels and real-time connections.

Spectacles Sync Kit
Minimal example of Spectacles Sync Kit transform synchronization across Connected Lenses.
BLE (Bluetooth Low Energy)
Bluetooth Low Energy connectivity projects


