- [ ] Integrate 360° Video: Add the video file and apply it as a `VideoTexture` to an inverted sphere in the Three.js scene. - [ ] Build Haptic Engine (`hapticEngine.js`): - [ ] Implement a `loadTactFile()` function to parse the `.tact` JSON file. - [ ] Implement `start(videoElement)` and `stop()` to manage the haptic clock. - [ ] Create the `hapticUpdate()` function with a 20ms `setInterval`. - [ ] Connect Engine to BLE: Call `submitHapticFrame()` from the `hapticUpdate()` function, passing the calculated frame data. - [ ] Sync with Video: Trigger `hapticEngine.start()` and `stop()` based on video play/pause events. - [ ] Full Sync Test: Deploy and verify that haptics are synchronized with the video on the Quest.
VideoTextureto an inverted sphere in the Three.js scene.hapticEngine.js):loadTactFile()function to parse the.tactJSON file.start(videoElement)andstop()to manage the haptic clock.hapticUpdate()function with a 20mssetInterval.submitHapticFrame()from thehapticUpdate()function, passing the calculated frame data.hapticEngine.start()andstop()based on video play/pause events.