Skip to content

Repository files navigation

PICO

English | 简体中文

Spatial SDK PICO Spatial SDK Samples

PICO OS Samples License

Official code samples for the PICO Spatial SDK on PICO OS 6. Each sample is a complete, runnable Android/Kotlin project focused on one core capability of spatial app development — from spatial containers, SpatialUI, ECS, animation, and physics to spatial video, spatial audio, spatial mesh, and on-device machine learning.

Table of Contents
  1. Getting Started
  2. Samples
  3. Learning Resources
  4. License
  5. Support

Getting Started

  1. Configure your development environment with the PICO Spatial SDK setup guide: Outside Chinese Mainland | Chinese Mainland
  2. Clone any sample repository below
  3. Open the project in Android Studio and run it on the PICO Emulator or a PICO OS 6 device

Note

All samples run on both the PICO Emulator and physical devices, except Spatial Mesh and Spatial ML, which require a physical PICO OS 6 device.

Samples

Browse, inspect, and arrange furniture in an interactive 3D space — an all-in-one sample demonstrating the core building blocks of the Spatial SDK.

WindowContainer Stage ECS Spatial Editor

Best practices for skeletal and tween animations: load and animate GLB/USDZ models, control playback and speed, and manage animation resources properly.

Skeletal Tween GLB / USDZ

Rigid body dynamics, collision detection, and collision events demonstrated through domino chain reactions, with materials dynamically changed via collision callbacks.

Rigid Body Collision Physics

Immersive stereoscopic (SBS) video playback with 4K/8K support, planar panel and 360° sphere modes, and shader-graph material effects.

SBS 3D 4K / 8K 360° Shader Graph

Ambient and object-based spatial audio in an immersive jungle scene: a moving sound source attached to an ECS-driven bird, with independent toggles and lifecycle-aware resource management.

Ambient Object Audio ECS

Real-time environment mesh scanning rendered as wireframe, with HMD-aimed physics projectiles and collision-driven scoring and audio feedback.

Mesh Scanning MR Game  Requires a PICO OS 6 device

On-device machine learning with SpatialML and the SecureMR privacy sandbox: real-time super-resolution on see-through camera images, plus an LLM-based visual question answering (VQA) interface.

SecureMR Super Resolution VQA  Requires a PICO OS 6 device

A Compose-based reference app for building rich multi-window spatial interfaces, covering subwindows, toolbars, popups, side navigation, gaze-following TabBar, guidance, feedback, basic controls, and Vibrant glass materials.

SpatialUI Compose Multi-window Vibrant Materials

Learning Resources

License

© 2026 PICO. The source code of each sample is licensed under the Apache 2.0 License. All assets, including textures, 3D models, audio, and others, are licensed via Creative Commons BY 4.0 unless otherwise stated in the sample repository.

Support

For questions, issues, or feature requests, please contact us through the PICO Developer Support Portal and submit a ticket, or reach us at pico_devsupport@bytedance.com.

⬆ BACK TO TOP

About

Code samples that provide hands-on examples for developers getting started with PICO Spatial. Each sample demonstrates a key feature or capability, giving you practical building blocks to create spatial applications for PICO devices.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors