μSpatial Computing · visionOS 4

Mujo Spatial無常空間

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.

scroll
Three Spatial Zen Environments

Immersive Spaces

Fujiwara no Ietaka · Shin Kokin Wakashū (1205)

おのづから 降る夏の夜を 明かしかね 訪ねぞ通ふ 人もこそとめ

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.

Shin Kokin Wakashū (1205)

Summer Evening Rain

夏の夜の雨

Visual System

Warm twilight gradient · 100 rain particles · firefly bioluminescence

Spatial Audio

Binaural rain · 70 BPM theta rhythm · distant omoi

AFM 3 Tokens

0x7E4A (contemporary longing)

Fujiwara no Ietaka
Swift 6 · RealityKit · AFM 3

Developer Preview

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
            )
        }
    }
}
Apple Foundation Models 3

Real-Time Spatial Inference

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.

AFM 3 Consoleinferring
v3.1.4
_
spatial params

Coming to visionOS

Mujo Spatial is being developed with RealityKit, Swift 6, and Apple Foundation Models 3. Join the waitlist for early access and developer previews.