Skip to content

specs-devs/samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Specs Samples

A comprehensive collection of templates and examples for building Lens experiences on Specs.

Important

This main branch targets SPECS 27 with Lens Studio 5.22.0+ and will NOT work with Spectacles (2024). For Spectacles (2024) development, switch to the 5.15.4 branch or download the 5.15.4 release zip.

What you'll find here

This repository contains multiple template projects showcasing different features and capabilities available when building for Specs. 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 samples

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

AI Playground

Sample project for AI in using Specs Remote Service Gateway.

crop

Crop

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

depth-cache

Depth Cache

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

ai-music-gen

AI Music Gen

Generate AI music using Google's Lyria model. Combine genres, vibes, and instruments to create custom music tracks with 3D visualizations.

agent-manager

Agent Manager

Multi-agent assistant hub for Specs—run and manage multiple AI agents with text and voice input.

Getting Started

Essential projects to get you started with Specs development

fetch

Fetch

Sample project using the Specs Fetch API.

essentials

Essentials

Collection of foundational concepts for creating lenses in Lens Studio.

spatial-image

Spatial Image

Convert your 2D images to 3D.

throw-lab

Throw Lab

Sample project demonstrating realistic throwing mechanics in AR.

voice-playback

Voice Playback

Sample project for recording and playing back audio on Specs.

path-pioneer

Path Pioneer

Sample project for path creation and path walking experience.

spectacles-mobile-kit

Specs Mobile Kit

SDK for seamless communication between mobile applications and Lenses running on Specs via BLE.

dj-specs

DJ Specs

Interactive DJ turntable experience with realistic vinyl physics and multi-track audio mixing.

Navigation

Location-based and navigation experiences

custom-locations

Custom Locations

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

navigation-kit

Navigation Kit

An example project for indoors or outdoors navigation.

Connected Lenses

Multi-user collaborative experiences

spectacles-sync-kit

Specs Sync Kit

Minimal example of Specs Sync Kit transform synchronization across Connected Lenses.

Snap Cloud

Cloud-powered experiences using Snap Cloud (powered by Supabase)

snap-cloud-world-kindness-day

Snap Cloud World Kindness Day

Demonstrating Snap Cloud integration with real-time database updates and a companion web app.

Templates

Blank starting points for building new projects from scratch.

Template Path Description
Specs Base Template Specs Base Template/ Minimal empty project — start here for a clean slate.
Specs Base Template With Examples Specs Base Template With Examples/ Base template pre-populated with example content to build on.

Additional Resources

Getting Started

  1. Install Git LFS (see Prerequisites section above)
  2. Clone this repository with Git LFS enabled
  3. Open any project folder in Lens Studio
  4. Explore the templates and start building!

⚠️ Important: Make sure Git LFS is installed before cloning, otherwise large assets won't download correctly.

Contributing

We welcome contributions on existing project! Feel free to submit pull requests or open issues.

---Maintained with 👽 by the SPECS Team

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors