Spectacles Samples [DEPRECATED]
๐
We'll see ya at https://github.com/orgs/specs-devs
if you are looking for further support
https://www.reddit.com/r/Spectacles/
A comprehensive collection of templates and examples for building Lens experiences on Spectacles.
What you'll find here
This repository contains multiple template projects showcasing different features and capabilities available when building for Spectacles. Each template is a complete, working example that you can use as a starting point for your own projects.
Prerequisites
Git LFS Required
This repository requires Git LFS (Large File Storage) to be installed and configured. The templates contain large assets including 3D models, textures, images, and media files that are tracked using Git LFS.
Installing Git LFS
macOS (using Homebrew):
brew install git-lfs
Windows:
Download and install from git-lfs.github.com
Linux:
# Debian/Ubuntu
sudo apt-get install git-lfs
# Fedora/Red Hat
sudo dnf install git-lfs
Setting Up Git LFS
After installing Git LFS, you need to set it up:
git lfs install
Cloning This Repository
When cloning this repository, Git LFS will automatically download the large files:
git clone <repository-url>
cd Spectacles-Templates
If you've already cloned the repository without Git LFS installed, you can fetch the LFS files:
git lfs install
git lfs pull
Verifying Git LFS
To verify that Git LFS is working correctly:
git lfs ls-files
This will show you all files tracked by Git LFS.
AI
AI-powered experiences and integrations
AI Playground
Sample project for AI in using Spectacles Remote Service Gateway.
|
Agentic Playground
Advanced AI playground demonstrating agentic behaviors and autonomous interactions using Spectacles platform.
|
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.
|
DJ Specs
Interactive DJ turntable experience with realistic vinyl physics and multi-track audio mixing.
|
|
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.
|