spark 2.1.0 splat viewer tab with OS-fused gyro look-around

WebView-hosted Spark renderer (butterfly.spz demo scene), fixed camera
position, rotation driven by expo-sensors DeviceMotion (ROTATION_VECTOR /
CoreMotion xMagneticNorthZVertical) via injectJavaScript; web fallback
uses deviceorientation in an iframe. Tap to re-center yaw.
This commit is contained in:
Lars Nolden
2026-08-11 18:05:17 +02:00
parent f63f0fd576
commit b463af35d0
9 changed files with 580 additions and 31 deletions
+6
View File
@@ -27,6 +27,12 @@
},
"plugins": [
"expo-router",
[
"expo-sensors",
{
"motionPermission": "Allow $(PRODUCT_NAME) to use device motion to rotate the 3D view."
}
],
[
"expo-splash-screen",
{