@davi-ai/react-bodyengine-three 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -788,7 +788,7 @@ const Le = (e, t, s, r) => new us(pt(e), t, s, r), ms = () => {
|
|
|
788
788
|
console.warn("Retorik React-Bodyengine-Three > GPU tier too low, no rendering available"), t(!1);
|
|
789
789
|
break;
|
|
790
790
|
case "medium":
|
|
791
|
-
y([
|
|
791
|
+
y([0.8, 1]), console.log(`Retorik React-Bodyengine-Three > GPU tier detected : ${p}`), t(!0);
|
|
792
792
|
break;
|
|
793
793
|
case "high":
|
|
794
794
|
y([1, 2]), console.log(`Retorik React-Bodyengine-Three > GPU tier detected : ${p}`), t(!0);
|
package/dist/stats.html
CHANGED
|
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
|
|
|
4929
4929
|
</script>
|
|
4930
4930
|
<script>
|
|
4931
4931
|
/*<!--*/
|
|
4932
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"D:/a/1/s/packages/reactjs","children":[{"name":"node_modules/zustand/esm","children":[{"uid":"
|
|
4932
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"D:/a/1/s/packages/reactjs","children":[{"name":"node_modules/zustand/esm","children":[{"uid":"e5616ade-1","name":"vanilla.mjs"},{"uid":"e5616ade-3","name":"react.mjs"}]},{"name":"src","children":[{"name":"contexts","children":[{"uid":"e5616ade-5","name":"characterStore.ts"},{"uid":"e5616ade-7","name":"cameraStore.ts"},{"uid":"e5616ade-9","name":"headStore.ts"},{"uid":"e5616ade-11","name":"animationStore.ts"},{"uid":"e5616ade-17","name":"speechStore.ts"},{"uid":"e5616ade-33","name":"emotionStore.ts"}]},{"name":"models","children":[{"uid":"e5616ade-13","name":"enums.ts"},{"uid":"e5616ade-15","name":"constants.ts"}]},{"name":"utils/getCameraPositionVector.ts","uid":"e5616ade-19"},{"name":"components","children":[{"name":"PostProcessing/PMJTAANode.js","uid":"e5616ade-21"},{"uid":"e5616ade-23","name":"SpeechManager.tsx"},{"uid":"e5616ade-25","name":"HorizontalLine.tsx"},{"uid":"e5616ade-27","name":"Scene.tsx"},{"name":"Controllers/CharacterController.ts","uid":"e5616ade-29"},{"uid":"e5616ade-31","name":"Character.tsx"}]},{"uid":"e5616ade-35","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"e5616ade-1":{"renderedLength":975,"gzipLength":394,"brotliLength":353,"metaUid":"e5616ade-0"},"e5616ade-3":{"renderedLength":593,"gzipLength":285,"brotliLength":235,"metaUid":"e5616ade-2"},"e5616ade-5":{"renderedLength":2066,"gzipLength":439,"brotliLength":380,"metaUid":"e5616ade-4"},"e5616ade-7":{"renderedLength":1028,"gzipLength":293,"brotliLength":249,"metaUid":"e5616ade-6"},"e5616ade-9":{"renderedLength":1484,"gzipLength":395,"brotliLength":345,"metaUid":"e5616ade-8"},"e5616ade-11":{"renderedLength":854,"gzipLength":308,"brotliLength":274,"metaUid":"e5616ade-10"},"e5616ade-13":{"renderedLength":2645,"gzipLength":700,"brotliLength":620,"metaUid":"e5616ade-12"},"e5616ade-15":{"renderedLength":2774,"gzipLength":852,"brotliLength":740,"metaUid":"e5616ade-14"},"e5616ade-17":{"renderedLength":2675,"gzipLength":668,"brotliLength":633,"metaUid":"e5616ade-16"},"e5616ade-19":{"renderedLength":2356,"gzipLength":571,"brotliLength":491,"metaUid":"e5616ade-18"},"e5616ade-21":{"renderedLength":25597,"gzipLength":6558,"brotliLength":5784,"metaUid":"e5616ade-20"},"e5616ade-23":{"renderedLength":5139,"gzipLength":1153,"brotliLength":1063,"metaUid":"e5616ade-22"},"e5616ade-25":{"renderedLength":383,"gzipLength":251,"brotliLength":209,"metaUid":"e5616ade-24"},"e5616ade-27":{"renderedLength":8857,"gzipLength":2394,"brotliLength":2128,"metaUid":"e5616ade-26"},"e5616ade-29":{"renderedLength":1366,"gzipLength":442,"brotliLength":408,"metaUid":"e5616ade-28"},"e5616ade-31":{"renderedLength":7048,"gzipLength":1843,"brotliLength":1639,"metaUid":"e5616ade-30"},"e5616ade-33":{"renderedLength":949,"gzipLength":361,"brotliLength":320,"metaUid":"e5616ade-32"},"e5616ade-35":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"e5616ade-34"}},"nodeMetas":{"e5616ade-0":{"id":"D:/a/1/s/packages/reactjs/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"index.js":"e5616ade-1"},"imported":[],"importedBy":[{"uid":"e5616ade-40"},{"uid":"e5616ade-2"}]},"e5616ade-2":{"id":"D:/a/1/s/packages/reactjs/node_modules/zustand/esm/react.mjs","moduleParts":{"index.js":"e5616ade-3"},"imported":[{"uid":"e5616ade-38"},{"uid":"e5616ade-0"}],"importedBy":[{"uid":"e5616ade-40"}]},"e5616ade-4":{"id":"D:/a/1/s/packages/reactjs/src/contexts/characterStore.ts","moduleParts":{"index.js":"e5616ade-5"},"imported":[{"uid":"e5616ade-40"},{"uid":"e5616ade-36"}],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-16"},{"uid":"e5616ade-8"},{"uid":"e5616ade-32"},{"uid":"e5616ade-10"},{"uid":"e5616ade-28"},{"uid":"e5616ade-22"}]},"e5616ade-6":{"id":"D:/a/1/s/packages/reactjs/src/contexts/cameraStore.ts","moduleParts":{"index.js":"e5616ade-7"},"imported":[{"uid":"e5616ade-40"},{"uid":"e5616ade-37"}],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-8"},{"uid":"e5616ade-26"},{"uid":"e5616ade-28"}]},"e5616ade-8":{"id":"D:/a/1/s/packages/reactjs/src/contexts/headStore.ts","moduleParts":{"index.js":"e5616ade-9"},"imported":[{"uid":"e5616ade-40"},{"uid":"e5616ade-4"},{"uid":"e5616ade-6"}],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-26"},{"uid":"e5616ade-28"}]},"e5616ade-10":{"id":"D:/a/1/s/packages/reactjs/src/contexts/animationStore.ts","moduleParts":{"index.js":"e5616ade-11"},"imported":[{"uid":"e5616ade-40"},{"uid":"e5616ade-4"}],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"}]},"e5616ade-12":{"id":"D:/a/1/s/packages/reactjs/src/models/enums.ts","moduleParts":{"index.js":"e5616ade-13"},"imported":[],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-32"},{"uid":"e5616ade-14"},{"uid":"e5616ade-18"}]},"e5616ade-14":{"id":"D:/a/1/s/packages/reactjs/src/models/constants.ts","moduleParts":{"index.js":"e5616ade-15"},"imported":[{"uid":"e5616ade-12"}],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-16"},{"uid":"e5616ade-22"}]},"e5616ade-16":{"id":"D:/a/1/s/packages/reactjs/src/contexts/speechStore.ts","moduleParts":{"index.js":"e5616ade-17"},"imported":[{"uid":"e5616ade-40"},{"uid":"e5616ade-4"},{"uid":"e5616ade-14"}],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-22"}]},"e5616ade-18":{"id":"D:/a/1/s/packages/reactjs/src/utils/getCameraPositionVector.ts","moduleParts":{"index.js":"e5616ade-19"},"imported":[{"uid":"e5616ade-37"},{"uid":"e5616ade-12"}],"importedBy":[{"uid":"e5616ade-30"}]},"e5616ade-20":{"id":"D:/a/1/s/packages/reactjs/src/components/PostProcessing/PMJTAANode.js","moduleParts":{"index.js":"e5616ade-21"},"imported":[{"uid":"e5616ade-37"},{"uid":"e5616ade-41"}],"importedBy":[{"uid":"e5616ade-26"}]},"e5616ade-22":{"id":"D:/a/1/s/packages/reactjs/src/components/SpeechManager.tsx","moduleParts":{"index.js":"e5616ade-23"},"imported":[{"uid":"e5616ade-38"},{"uid":"e5616ade-16"},{"uid":"e5616ade-4"},{"uid":"e5616ade-44"},{"uid":"e5616ade-14"},{"uid":"e5616ade-36"}],"importedBy":[{"uid":"e5616ade-26"}]},"e5616ade-24":{"id":"D:/a/1/s/packages/reactjs/src/components/HorizontalLine.tsx","moduleParts":{"index.js":"e5616ade-25"},"imported":[{"uid":"e5616ade-38"},{"uid":"e5616ade-37"}],"importedBy":[{"uid":"e5616ade-26"}]},"e5616ade-26":{"id":"D:/a/1/s/packages/reactjs/src/components/Scene.tsx","moduleParts":{"index.js":"e5616ade-27"},"imported":[{"uid":"e5616ade-38"},{"uid":"e5616ade-37"},{"uid":"e5616ade-41"},{"uid":"e5616ade-20"},{"uid":"e5616ade-42"},{"uid":"e5616ade-39"},{"uid":"e5616ade-43"},{"uid":"e5616ade-6"},{"uid":"e5616ade-8"},{"uid":"e5616ade-22"},{"uid":"e5616ade-24"}],"importedBy":[{"uid":"e5616ade-30"}]},"e5616ade-28":{"id":"D:/a/1/s/packages/reactjs/src/components/Controllers/CharacterController.ts","moduleParts":{"index.js":"e5616ade-29"},"imported":[{"uid":"e5616ade-38"},{"uid":"e5616ade-4"},{"uid":"e5616ade-36"},{"uid":"e5616ade-43"},{"uid":"e5616ade-8"},{"uid":"e5616ade-6"}],"importedBy":[{"uid":"e5616ade-30"}]},"e5616ade-30":{"id":"D:/a/1/s/packages/reactjs/src/components/Character.tsx","moduleParts":{"index.js":"e5616ade-31"},"imported":[{"uid":"e5616ade-38"},{"uid":"e5616ade-37"},{"uid":"e5616ade-36"},{"uid":"e5616ade-39"},{"uid":"e5616ade-8"},{"uid":"e5616ade-4"},{"uid":"e5616ade-10"},{"uid":"e5616ade-6"},{"uid":"e5616ade-16"},{"uid":"e5616ade-12"},{"uid":"e5616ade-18"},{"uid":"e5616ade-26"},{"uid":"e5616ade-28"}],"importedBy":[{"uid":"e5616ade-34"}]},"e5616ade-32":{"id":"D:/a/1/s/packages/reactjs/src/contexts/emotionStore.ts","moduleParts":{"index.js":"e5616ade-33"},"imported":[{"uid":"e5616ade-40"},{"uid":"e5616ade-12"},{"uid":"e5616ade-4"}],"importedBy":[{"uid":"e5616ade-34"}]},"e5616ade-34":{"id":"D:/a/1/s/packages/reactjs/src/index.ts","moduleParts":{"index.js":"e5616ade-35"},"imported":[{"uid":"e5616ade-30"},{"uid":"e5616ade-4"},{"uid":"e5616ade-16"},{"uid":"e5616ade-6"},{"uid":"e5616ade-8"},{"uid":"e5616ade-32"},{"uid":"e5616ade-10"},{"uid":"e5616ade-36"},{"uid":"e5616ade-12"},{"uid":"e5616ade-14"},{"uid":"e5616ade-37"}],"importedBy":[],"isEntry":true},"e5616ade-36":{"id":"@davi-ai/bodyengine-three","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-4"},{"uid":"e5616ade-28"},{"uid":"e5616ade-22"}],"isExternal":true},"e5616ade-37":{"id":"three/webgpu","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-34"},{"uid":"e5616ade-30"},{"uid":"e5616ade-6"},{"uid":"e5616ade-18"},{"uid":"e5616ade-26"},{"uid":"e5616ade-20"},{"uid":"e5616ade-24"}],"isExternal":true},"e5616ade-38":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-30"},{"uid":"e5616ade-26"},{"uid":"e5616ade-28"},{"uid":"e5616ade-22"},{"uid":"e5616ade-24"},{"uid":"e5616ade-2"}],"isExternal":true},"e5616ade-39":{"id":"@react-three/drei","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-30"},{"uid":"e5616ade-26"}],"isExternal":true},"e5616ade-40":{"id":"D:/a/1/s/packages/reactjs/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"e5616ade-0"},{"uid":"e5616ade-2"}],"importedBy":[{"uid":"e5616ade-4"},{"uid":"e5616ade-16"},{"uid":"e5616ade-6"},{"uid":"e5616ade-8"},{"uid":"e5616ade-32"},{"uid":"e5616ade-10"}]},"e5616ade-41":{"id":"three/tsl","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-26"},{"uid":"e5616ade-20"}],"isExternal":true},"e5616ade-42":{"id":"three/addons/tsl/display/SSGINode.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-26"}],"isExternal":true},"e5616ade-43":{"id":"@react-three/fiber","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-26"},{"uid":"e5616ade-28"}],"isExternal":true},"e5616ade-44":{"id":"@davi-ai/web-speech-cognitive-services-davi","moduleParts":{},"imported":[],"importedBy":[{"uid":"e5616ade-22"}],"isExternal":true}},"env":{"rollup":"4.61.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4933
4933
|
|
|
4934
4934
|
const run = () => {
|
|
4935
4935
|
const width = window.innerWidth;
|