The custom pointer-capture + frozen-camera drag math was fragile and felt worse than before. Konva handles the drag gesture itself; the "me" node's screen position stays pinned to the stage center via dragBoundFunc + a worldLayer offset that recenters on every dragmove, so the world pans under the avatar instead of the avatar drifting off center. Grid, peers, and the audible-range circle all live in the same world-space layer so they pan together. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
978 B
JSON
34 lines
978 B
JSON
{
|
|
"name": "gibbz-voice-poc",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"description": "Discord-clone POC: WebRTC voice chat + screen sharing + spatial audio",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"start": "node server.js",
|
|
"test": "node --test"
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "^1.9.1",
|
|
"@opentelemetry/auto-instrumentations-node": "^0.80.0",
|
|
"@opentelemetry/exporter-logs-otlp-http": "^0.222.0",
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.222.0",
|
|
"@opentelemetry/resources": "^2.11.0",
|
|
"@opentelemetry/sdk-logs": "^0.222.0",
|
|
"@opentelemetry/sdk-node": "^0.222.0",
|
|
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
"konva": "^10.6.0",
|
|
"matrix-js-sdk": "^42.4.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
|
"esbuild": "^0.28.2",
|
|
"vite": "^8.3.0",
|
|
"vite-plugin-node-polyfills": "^0.28.0"
|
|
},
|
|
"allowScripts": {
|
|
"esbuild@0.28.2": true
|
|
}
|
|
}
|