Scaffold Electron+React+TS app and render avatar VRM with animations
Sets up a transparent, always-on-top, frameless Electron window hosting a Three.js scene that loads assets/avatar.vrm via @pixiv/three-vrm and plays the bundled .vrma clips through @pixiv/three-vrm-animation. Fixes the default CSP (which blocked texture-loading blob: fetches) and frames the camera on the model automatically. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
||||
"include": ["electron.vite.config.*", "src/main/**/*", "src/preload/**/*"],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"types": ["electron-vite/node"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user