Commit Graph

2 Commits

Author SHA1 Message Date
zed b7233c4dff @
fix(ui): repair sensing UI — OrbitControls import, WebSocket port, toast null container (#760)

Fix three bugs that prevented all live data visualization in the sensing UI:
- Bug 1: Replace CDN OrbitControls with ES module import (Three.js r160 removed examples/js/)
- Bug 2: Correct WebSocket URL from localhost:8000/ws/pose to localhost:3001/ws/sensing
- Bug 3: Guard ToastManager.show() against null container (init() called after show())

Also fix --no-default-features compilation for wifi-densepose-core by adding
conditional alloc imports and replacing std:: references with core:: equivalents.

Co-Authored-By: claude-flow <ruv@ruv.net>
@
2026-05-23 19:09:28 +08:00
Claude a8ac309258
feat: Add Three.js visualization entry point and data processor
Add viz.html as the main entry point that loads Three.js from CDN and
orchestrates all visualization components (scene, body model, signal
viz, environment, HUD). Add data-processor.js that transforms API
WebSocket messages into geometry updates and provides demo mode with
pre-recorded pose cycling when the server is unavailable.

https://claude.ai/code/session_01Ki7pvEZtJDvqJkmyn6B714
2026-02-28 06:29:28 +00:00