mjswan 0.1.1 → 0.2.2
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/assets/index-B4SJqdSr.css +1 -0
- package/dist/assets/index-Czn6IDu0.js +15613 -0
- package/dist/assets/mujoco/{mujoco_wasm.js → mujoco.js} +11 -7
- package/dist/assets/mujoco/{mujoco_wasm.wasm → mujoco.wasm} +0 -0
- package/dist/assets/{ort-wasm-simd-threaded.jsep-CVw3nYo7.wasm → ort-wasm-simd-threaded.jsep-C887KxcQ.wasm} +0 -0
- package/dist/index.html +2 -2
- package/package.json +2 -1
- package/dist/assets/index-C57f4hag.js +0 -6795
- package/dist/assets/index-D_DiXcjN.css +0 -1
|
@@ -649,10 +649,10 @@ var wasmBinaryFile;
|
|
|
649
649
|
|
|
650
650
|
function findWasmBinary() {
|
|
651
651
|
if (Module['locateFile']) {
|
|
652
|
-
return locateFile('
|
|
652
|
+
return locateFile('mujoco.wasm');
|
|
653
653
|
}
|
|
654
654
|
// Use bundler-friendly `new URL(..., import.meta.url)` pattern; works in browsers too.
|
|
655
|
-
return new URL('
|
|
655
|
+
return new URL('mujoco.wasm', import.meta.url).href;
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
function getBinarySync(file) {
|
|
@@ -6461,13 +6461,15 @@ async function createWasm() {
|
|
|
6461
6461
|
}
|
|
6462
6462
|
|
|
6463
6463
|
|
|
6464
|
-
|
|
6465
6464
|
var getHeapMax = () =>
|
|
6466
6465
|
// Stay one Wasm page short of 4GB: while e.g. Chrome is able to allocate
|
|
6467
6466
|
// full 4GB Wasm memories, the size will wrap back to 0 bytes in Wasm side
|
|
6468
6467
|
// for any code that deals with heap sizes, which would require special
|
|
6469
6468
|
// casing all heap size related code to treat 0 specially.
|
|
6470
6469
|
2147483648;
|
|
6470
|
+
var _emscripten_get_heap_max = () => getHeapMax();
|
|
6471
|
+
|
|
6472
|
+
|
|
6471
6473
|
|
|
6472
6474
|
var alignMemory = (size, alignment) => {
|
|
6473
6475
|
assert(alignment, "alignment argument is required");
|
|
@@ -7571,6 +7573,8 @@ var wasmImports = {
|
|
|
7571
7573
|
/** @export */
|
|
7572
7574
|
emscripten_date_now: _emscripten_date_now,
|
|
7573
7575
|
/** @export */
|
|
7576
|
+
emscripten_get_heap_max: _emscripten_get_heap_max,
|
|
7577
|
+
/** @export */
|
|
7574
7578
|
emscripten_get_now: _emscripten_get_now,
|
|
7575
7579
|
/** @export */
|
|
7576
7580
|
emscripten_resize_heap: _emscripten_resize_heap,
|
|
@@ -8223,10 +8227,10 @@ function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6) {
|
|
|
8223
8227
|
}
|
|
8224
8228
|
}
|
|
8225
8229
|
|
|
8226
|
-
function
|
|
8230
|
+
function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9) {
|
|
8227
8231
|
var sp = stackSave();
|
|
8228
8232
|
try {
|
|
8229
|
-
getWasmTableEntry(index)(a1,a2,a3,a4);
|
|
8233
|
+
return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9);
|
|
8230
8234
|
} catch(e) {
|
|
8231
8235
|
stackRestore(sp);
|
|
8232
8236
|
if (!(e instanceof EmscriptenEH)) throw e;
|
|
@@ -8234,10 +8238,10 @@ function invoke_viidi(index,a1,a2,a3,a4) {
|
|
|
8234
8238
|
}
|
|
8235
8239
|
}
|
|
8236
8240
|
|
|
8237
|
-
function
|
|
8241
|
+
function invoke_viidi(index,a1,a2,a3,a4) {
|
|
8238
8242
|
var sp = stackSave();
|
|
8239
8243
|
try {
|
|
8240
|
-
|
|
8244
|
+
getWasmTableEntry(index)(a1,a2,a3,a4);
|
|
8241
8245
|
} catch(e) {
|
|
8242
8246
|
stackRestore(sp);
|
|
8243
8247
|
if (!(e instanceof EmscriptenEH)) throw e;
|
|
Binary file
|
|
Binary file
|
package/dist/index.html
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
/>
|
|
12
12
|
<link rel="manifest" href="manifest.json" />
|
|
13
13
|
<title>mjswan</title>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
15
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-Czn6IDu0.js"></script>
|
|
15
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B4SJqdSr.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
18
18
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjswan",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/ttktjmt/mjswan.git"
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"@mantine/core": "^8.3.0",
|
|
25
25
|
"@mantine/hooks": "^8.3.0",
|
|
26
26
|
"@mantine/vanilla-extract": "^8.3.0",
|
|
27
|
+
"@sparkjsdev/spark": "^0.1.10",
|
|
27
28
|
"@tabler/icons-react": "^3.0.0",
|
|
28
29
|
"jszip": "^3.10.1",
|
|
29
30
|
"onnxruntime-web": "^1.21.1",
|