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
- Configure your development environment with the PICO Spatial SDK setup guide: Outside Chinese Mainland | Chinese Mainland
- Clone any sample repository below
- 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.
|
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
|
© 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.
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.