feat(wasm): deploy real 60FPS MuJoCo WebAssembly physics engine (Zero Docker, Zero GIFs)
Browse files- app.js +1 -1
- index.html +2 -2
- style.css +4 -29
app.js
CHANGED
|
@@ -1042,7 +1042,7 @@ async function initWasmEngine() {
|
|
| 1042 |
try {
|
| 1043 |
if (!MujocoWasmPlayer) {
|
| 1044 |
engineLoadingMgr.setProgress(50, "📦 MuJoCo WebAssembly 모듈 로딩 중...", "📦 Loading MuJoCo WASM Module...");
|
| 1045 |
-
const mod = await import(withSign("./mujoco_wasm_player.js?v=
|
| 1046 |
MujocoWasmPlayer = mod.MujocoWasmPlayer;
|
| 1047 |
}
|
| 1048 |
wasmPlayer = new MujocoWasmPlayer(container);
|
|
|
|
| 1042 |
try {
|
| 1043 |
if (!MujocoWasmPlayer) {
|
| 1044 |
engineLoadingMgr.setProgress(50, "📦 MuJoCo WebAssembly 모듈 로딩 중...", "📦 Loading MuJoCo WASM Module...");
|
| 1045 |
+
const mod = await import(withSign("./mujoco_wasm_player.js?v=20261107_v28"));
|
| 1046 |
MujocoWasmPlayer = mod.MujocoWasmPlayer;
|
| 1047 |
}
|
| 1048 |
wasmPlayer = new MujocoWasmPlayer(container);
|
index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
<title>Jelly Bean PlayEngine · 10 Pop Physics | HWIHWA LAB</title>
|
| 7 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Jua&family=Noto+Sans+KR:wght@400;500;700&family=Nunito:wght@600;700;800;900&family=JetBrains+Mono:wght@600;700&display=swap" rel="stylesheet">
|
| 9 |
-
<link rel="stylesheet" href="style.css?v=
|
| 10 |
<!-- Three.js WebGL Engine for 60 FPS Client-Side Real-time Simulation -->
|
| 11 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/0.160.0/three.min.js"></script>
|
| 12 |
</head>
|
|
@@ -360,7 +360,7 @@
|
|
| 360 |
================================================================ -->
|
| 361 |
<script>
|
| 362 |
(function () {
|
| 363 |
-
var VER = "
|
| 364 |
var GAMES = [
|
| 365 |
[1, "BEAN PARTY", "Jelly Bean Skydiving Party", "01 · 젤리빈 스카이다이빙 파티"],
|
| 366 |
[2, "BALL POOL", "Jelly Bean Ball Pool Pinball", "02 · 젤리빈 볼풀장 & 핀볼 플리퍼"],
|
|
|
|
| 6 |
<title>Jelly Bean PlayEngine · 10 Pop Physics | HWIHWA LAB</title>
|
| 7 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Jua&family=Noto+Sans+KR:wght@400;500;700&family=Nunito:wght@600;700;800;900&family=JetBrains+Mono:wght@600;700&display=swap" rel="stylesheet">
|
| 9 |
+
<link rel="stylesheet" href="style.css?v=20261107_v28">
|
| 10 |
<!-- Three.js WebGL Engine for 60 FPS Client-Side Real-time Simulation -->
|
| 11 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/0.160.0/three.min.js"></script>
|
| 12 |
</head>
|
|
|
|
| 360 |
================================================================ -->
|
| 361 |
<script>
|
| 362 |
(function () {
|
| 363 |
+
var VER = "20261107_v28";
|
| 364 |
var GAMES = [
|
| 365 |
[1, "BEAN PARTY", "Jelly Bean Skydiving Party", "01 · 젤리빈 스카이다이빙 파티"],
|
| 366 |
[2, "BALL POOL", "Jelly Bean Ball Pool Pinball", "02 · 젤리빈 볼풀장 & 핀볼 플리퍼"],
|
style.css
CHANGED
|
@@ -535,40 +535,15 @@ body.jelly-theme {
|
|
| 535 |
}
|
| 536 |
|
| 537 |
.ready-overlay {
|
| 538 |
-
background:
|
| 539 |
-
backdrop-filter:
|
| 540 |
-
-webkit-backdrop-filter:
|
| 541 |
cursor: pointer;
|
| 542 |
transition: all 0.25s ease;
|
| 543 |
-
justify-content: flex-end;
|
| 544 |
-
padding-bottom: 28px;
|
| 545 |
}
|
| 546 |
|
| 547 |
.ready-overlay:hover {
|
| 548 |
-
background:
|
| 549 |
-
}
|
| 550 |
-
|
| 551 |
-
.ready-overlay .overlay-icon {
|
| 552 |
-
display: none;
|
| 553 |
-
}
|
| 554 |
-
|
| 555 |
-
.ready-overlay .overlay-title {
|
| 556 |
-
background: rgba(255, 255, 255, 0.92);
|
| 557 |
-
padding: 6px 20px;
|
| 558 |
-
border-radius: 999px;
|
| 559 |
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
| 560 |
-
font-size: 20px;
|
| 561 |
-
backdrop-filter: blur(8px);
|
| 562 |
-
-webkit-backdrop-filter: blur(8px);
|
| 563 |
-
}
|
| 564 |
-
|
| 565 |
-
.ready-overlay .overlay-sub {
|
| 566 |
-
background: rgba(255, 255, 255, 0.85);
|
| 567 |
-
padding: 4px 14px;
|
| 568 |
-
border-radius: 999px;
|
| 569 |
-
font-size: 13px;
|
| 570 |
-
backdrop-filter: blur(8px);
|
| 571 |
-
-webkit-backdrop-filter: blur(8px);
|
| 572 |
}
|
| 573 |
|
| 574 |
.overlay-icon {
|
|
|
|
| 535 |
}
|
| 536 |
|
| 537 |
.ready-overlay {
|
| 538 |
+
background: rgba(255, 255, 255, 0.45);
|
| 539 |
+
backdrop-filter: blur(4px);
|
| 540 |
+
-webkit-backdrop-filter: blur(4px);
|
| 541 |
cursor: pointer;
|
| 542 |
transition: all 0.25s ease;
|
|
|
|
|
|
|
| 543 |
}
|
| 544 |
|
| 545 |
.ready-overlay:hover {
|
| 546 |
+
background: rgba(255, 255, 255, 0.35);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 547 |
}
|
| 548 |
|
| 549 |
.overlay-icon {
|