An immersive poetry environment for Apple Vision Pro. Three classical Waka poems, rendered as spatial scenes with RealityKit, Swift 6, and Apple Foundation Models 3. Experience the Japanese aesthetic of mujo - the transient beauty of all things.
おのづから 降る夏の夜を 明かしかね 訪ねぞ通ふ 人もこそとめ
Onozukara / furu natsu no yo o / akashikane / tazune zo kayou / hito mo koso tome
“Through this long summer night / of falling rain, the dawn / seems so far away - / yet I visit you, though / someone might stop me.”
夏の夜の雨
Warm twilight gradient · 100 rain particles · firefly bioluminescence
Binaural rain · 70 BPM theta rhythm · distant omoi
0x7E4A (contemporary longing)
Compile-ready code for each spatial environment. Swift 6 with @Observable, RealityKit particle systems, and Apple Foundation Models 3 guided generation.
class="keyword">import SwiftUI
class="keyword">import RealityKit
@Observable
final class SummerRainEnvironment {
var intensity: Float = class="number">0.6
var wind: SIMD2<Float> = [class="number">0.3, -class="number">0.8]
var twilight: Float = class="number">0.4
func update(_ ctx: AFMContext) {
intensity = clamp(ctx.gazeIntensity * class="number">0.8 + class="number">0.2, class="number">0, class="number">1)
wind = ctx.ambientWind()
twilight = ctx.timeOfDay
}
}
class="keyword">struct SummerRainView: View {
@State private var env = SummerRainEnvironment()
@State private var session = ARKitSession()
var body: some View {
RealityView { content in
let entity = Entity()
entity.components.set(ParticleEmitterComponent())
content.add(entity)
session.run([env])
} update: { content in
guard let emitter = content.entities.first?
.components[ParticleEmitterComponent.self]
else { return }
emitter.mainEmitter.rate = Int(env.intensity * class="number">4000)
emitter.mainEmitter.speed = simd_float3(
env.wind.x, env.wind.y, class="number">0
)
}
}
}Watch AFM 3 interpret gaze, ambient light, and biometric data to dynamically adjust spatial parameters in real time. The on-device 16-TOPS neural engine runs continuously at sub-8ms latency.
Mujo Spatial is being developed with RealityKit, Swift 6, and Apple Foundation Models 3. Join the waitlist for early access and developer previews.