← Back to projects

Entering the Forest 2

A room that opens into a glowing cave, on Mac, iPhone and Vision Pro

The Problem

For my extended reality class (IDSN 538) I built a scene in Spline about Afriodinia lico, a butterfly that was only described in 2022 from Mount Lico in Mozambique. Spline was good for a class demo but it couldn't give me real immersion, real physics or a native Vision Pro experience, so I rebuilt the idea from scratch as its own app.

What I Owned

Solo build. I designed the experience and wrote the app: the scene, the portal transition, the cave, the interactive water, the butterfly close up and the sound.

Tools And Stack

  • Swift
  • SwiftUI
  • RealityKit
  • visionOS
  • iOS
  • macOS

How It Fits Together

One Xcode target runs on Mac, iPhone and Vision Pro. Almost everything is built in code: you start in a 360 degree classroom photo with a small patch of forest floor, a portal opens behind it, and the world swaps to a bioluminescent cave once you pass through. The cave pool runs a real 2D wave simulation where the glow follows the water's speed, so dragging across it leaves light behind. Butterfly flight, plant sway and walking are simulated, the wings come from a real specimen photo, and the cave sounds are synthesized in code. Every outside asset is credited in the app.

What Changed

  • Runs natively on my Mac, iPhone and Vision Pro from one codebase.
  • Profiled to about 7 ms a frame on an M3 Pro after removing transition hitches and caching per frame work.
  • Sourced close ups: the butterfly, glowing mushroom and sea sparkle facts each cite the published research.

Discuss this project →