# Codelabs

Step-by-step guides for building 3D and AR apps with SceneView and Jetpack Compose.

## Getting started

Beginner level.

| Codelab | What you build | Time |
|---|---|---|
| [3D with Compose](codelab-3d-compose.md) | Build your first 3D scene with a rotating glTF model, HDR lighting, and orbit camera gestures. | 25 min |
| [AR with Compose](codelab-ar-compose.md) | Place 3D objects in the real world using ARCore plane detection and anchor tracking. | 20 min |
| [3D with SwiftUI — end of life at 4.68.0](codelab-3d-swiftui.md) | Build a 3D model viewer on iOS/macOS using SceneViewSwift, RealityKit, and orbit camera. | 15 min |
| [AR with SwiftUI — end of life at 4.68.0](codelab-ar-swiftui.md) | Detect planes with ARKit and tap to place 3D objects in the real world on iOS. | 15 min |

## Advanced guides

Intermediate level.

| Codelab | What you build | Time |
|---|---|---|
| [Physics simulation](guide-physics.md) | Bouncing spheres with gravity, floor collisions, and configurable restitution. | 15 min |
| [Dynamic sky & fog](guide-dynamic-sky.md) | Time-of-day sun cycle with atmospheric fog for moody outdoor scenes. | 15 min |
| [Reflection probes](guide-reflection-probes.md) | Zone-based IBL overrides for realistic metallic and glossy materials. | 15 min |
| [Lines, paths & text](guide-lines-text.md) | 3D line drawings, polylines, and camera-facing text labels for annotation. | 15 min |
