๐ฌ Jelly Bean PlayEngine: 10 Pop Physics Bricks & Robotics Sandbox
โJelly Bean PlayEngine: 10-in-1 Cute Playable Physics Arcade & Physical AI Sandbox | HWIHWA LAB
A high-performance interactive physics playground and autonomous robotics sandbox built on Google DeepMind's MuJoCo WebAssembly engine (60 FPS Three.js WebGL client-side rendering) and 500Hz PGS numerical solver ($dt=0.002\text{s}$). Features 10 standalone procedural physics bricks, zero Docker/backend server dependency, autonomous robotics controllers (LQR inverted pendulum balancer, Pure Pursuit waypoint navigation, 3-stage Inverse Kinematics claw rescue, ballistic demolition sniper), 3-way camera perspective switching, and zero-asset procedural 8-bit chiptune audio synthesis.๐ English Documentation | ๐ฐ๐ท ํ๊ตญ์ด ๋งค๋ด์ผ | ๐ฌ Interactive 3D Arcadeโ
Developed by Hwihwa Lab ยท AI ร Automation ร Aesthetics โจ
๐ English Documentation
โก Real-Time Physics & Robotics Architecture
Jelly Bean PlayEngine transforms academic multi-body dynamics into a vibrant, high-performance 3D arcade. Built on MuJoCo WebAssembly with a 500Hz numerical solver (dt=0.002s) and 60 FPS Three.js WebGL client-side rendering, it delivers zero-latency interactive physics with 100% procedural geometric assets, autonomous robotics controllers (LQR, Pure Pursuit, Inverse Kinematics), zero Docker or server dependencies, and pure Web Audio API sound synthesis.
+---------------------------------------------------------------------------------------------------+
| ๐ฌ JELLY BEAN PLAYENGINE [STATUS: ENGINE LIVE] |
| Physical AI Sandbox & Arcade | HWIHWA LAB |
+---------------------------------+---------------------------------+-------------------------------+
| ๐ 10 CUTE PHYSICS BRICKS | ๐ฎ 3D INTERACTIVE VIEWPORT | ๐ PARAMETER CONTROL DECK |
| - 01 Jelly Bean Skydiving Party | - 60 FPS Three.js WebGL (WASM) | - Human vs Smart AI Toggle |
| - 02 Ball Pool Pinball Carnival | - 3-Way Camera (Front/45ยฐ/Top) | - Gravity Accelerator Slider |
| - 03 Domino Knockdown Strike | - Victory Particle Confetti | - Dynamic Cannon Power Tuning |
| - ... 10 Macaron Tower Cannon | - Keyboard Input Visualizer | - Standalone Python/XML Code |
+---------------------------------+---------------------------------+-------------------------------+
โญ The 4 Major System Upgrades
- ๐ Game-Specific Victory Banners with Confetti & Fanfares:
- Every mini-game features clear win conditions (e.g.,
DOMINO CLEARED!,ALL COINS COLLECTED!,PINK BEAN WINS!,360ยฐ LOOP MASTER!,TOWER ANNIHILATED!,GOLDEN BALANCER!). - Celebrated with dynamic canvas particle confetti explosions and browser-synthesized brass fanfares.
- Every mini-game features clear win conditions (e.g.,
- ๐ฅ 3-Way Camera Perspective Switcher:
- Seamlessly switch between Front View (
cam_front), 45ยฐ Quarter Isometric (cam_quarter), and Top-Down Aerial (cam_topdown) with a single click or by pressing the [C] key.
- Seamlessly switch between Front View (
- ๐ต Kawaii 8-Bit Chiptune BGM (Pure Web Audio API):
- Zero-byte download footprint: 100% procedurally synthesized in JavaScript via Web Audio API.
- Upbeat pentatonic arpeggios with syncopated bouncy bassline. Toggle on/off anytime via the top header button
[๐ต BGM ON/OFF].
- ๐ค 10-Game Smart AI Autonomous Controllers:
- In addition to human manual keyboard control, every mini-game features an intelligent autonomous AI controller:
- Game 01: 1.6s Optimal Rhythm Drop AI
- Game 02: Ball Pool Dual-Flipper Reaction Reflex AI
- Game 03: Ballistic Domino Impact Striker AI
- Game 04: Phase-Resonance 360ยฐ Swing Momentum Pumping AI
- Game 05: Double Pendulum Acrobat Kick AI
- Game 06: Hydrodynamic Slipstream Photo-Finish Boost AI
- Game 07: LQR Inverted Pendulum Lollipop Cart Balancer AI
- Game 08: Pure Pursuit Autonomous Navigation & 5-Coin Collector AI
- Game 09: 3-Stage Inverse Kinematics (IK) Plushie Claw Rescue AI
- Game 10: Center-of-Mass (CoM) Ballistic Demolition Sniper AI
- In addition to human manual keyboard control, every mini-game features an intelligent autonomous AI controller:
๐งธ The 10 Pop Physics Mini-Games & Controls
๐ฎ Universal Global Keyboard Shortcuts
| Key | Function | Description |
|---|---|---|
Space |
Primary Action Trigger | Start simulation / Drop bean / Flap pinball rain / Strike domino / Acrobatic kick / Fire cannon |
R |
Instant Reset | Rebuilds arena and resets all objects, timers, and HUD metrics to initial ready state |
C |
Cycle 3-Way Camera | Switches perspective instantly: Front ๐ฅ โ 45ยฐ Quarter ๐ โ Top-Down ๐ |
M |
Smart AI / Manual Mode | Toggles between Human Manual Control and Autonomous Smart AI Auto-Pilot |
F |
16:9 Widescreen Fullscreen | Toggles immersive full-screen arcade viewport |
๐น๏ธ 10 Mini-Games Dual Controls (WASD & Arrow Keys)
| # | Game Title | MuJoCo Physics Core | Target Goal & Gameplay | Controls (Dual WASD & Arrow Keys) |
|---|---|---|---|---|
| 01 | Jelly Bean Skydiving Party | Multi-Agent Gravity & Floor Impact | Drop beans from the sky to safely pile up on foam mat | Space: Drop Extra Bean, R: Reset |
| 02 | Ball Pool Pinball Carnival | Multi-Body Elastic Collision & Contact | Flip bumpers to bounce gumballs and score 1,000 pts | A/D or โ/โ: Left/Right Flippers, Space: Rain |
| 03 | Domino Knockdown Strike | Kinetic Chain Reaction & Momentum Transfer | Topple 7 dominoes to strike down the Gold Star target | Space: Strike 1st Domino, R: Reset |
| 04 | Giant Carnival Swing 360ยฐ | Revolute Joint Kinematics & Resonance | Rhythm pumping to overcome gravity and execute a 360ยฐ loop | W/โ or Space: Momentum Pump, R: Reset |
| 05 | Jelly Bean Acrobatic Twin | Double Pendulum Chaotic Dynamics | Direct joint torque & aerial 3x somersault combo in the sky | W/S or โ/โ (Joint 1), A/D or โ/โ (Joint 2), Space: Chaos Kick |
| 06 | Waterpark Candy Slide Race | Incline Tribology & Coulomb Friction | Pink Bean vs Mint Bean! Slide down rainbow ramp to splash pool | Space: Start, A/โ: Pink Boost, D/โ: Mint Boost |
| 07 | Pudding Cart Balancer (โญ Flagship) | CartPole / Inverted Pendulum (RL) | Balance Pink Bean on cart for 15s to win Golden Balancer | A/D or โ/โ: Push Cart, M: AI Mode |
| 08 | Bumper Car Coin Collector | 4-Wheel Chassis & Traction Dynamics | Drive bumper car around arena to collect all 5 Star Coins | W/S/A/D or โ/โ/โ/โ: Drive & Steer (Compound Hold) |
| 09 | Toy Claw Machine & Plushie Bean | 2-DOF Robotic Arm (Robotics) | Position robotic arm and activate magnetic grip to rescue plushie | W/S or โ/โ: Shoulder, A/D or โ/โ: Elbow, Space: Magnet |
| 10 | Macaron Tower & Cannonball Bean | Multi-Body Structural Collapse & Ballistics | Adjust cannon power and fire cannonball to crush 9-story tower | Space: Fire Cannon, W/S or โ/โ: Power (0.4x~2.5x) |
๐ Run Locally (Standalone Desktop App Mode)
Clone and run in zero-install standalone desktop app mode (no browser address bar):
git clone https://huggingface.co/spaces/hwihwalab/mujoco-physics-playengine
cd mujoco-physics-playengine
# Install dependencies
pip install -r requirements.txt
# Launch Standalone Cockpit Window (No address bar)
python run.py
(Windows users can simply double-click PlayEngine.bat)
๐ Repository Contents
README.md: Official Model Card overview & comprehensive English documentation.README_KR.md: Full Korean comprehensive manual (ํ๊ตญ์ด ๋งค๋ด์ผ).mujoco_playengine_bundle.zip: Complete production bundle containing all 10 MuJoCo procedural physics bricks, LQR/IK controllers, FastAPI server, and zero-asset Cybernetic Bento web cockpit.assets/banner.png: Official 16:9 3D rendered showcase cover banner.LICENSE: Official Apache 2.0 Open-Source License.
๐ค About HWIHWA LAB
โAI ร Automation ร Aesthetics โ Crafting tools you'll love โจโ
HWIHWA LAB is an independent AI research & engineering studio dedicated to blending practical on-device intelligence, autonomous operations, and refined aesthetics. We engineer resilient systems that free solopreneurs and indie creators from operational overheadโgiving people their time and creative joy back.
๐ฌ Core Research & Engineering Pillars
- Embodied AI & Physical Dynamics: Researching physics-based reinforcement learning (RL), multi-body kinematics, and autonomous robotics control brains (LQR, MPC, Pure Pursuit, Inverse Kinematics).
- Zero-Asset Procedural Engineering: Designing zero-cost web architectures synthesizing 3D geometry and audio purely via code and mathematical formulations without heavy texture downloads.
- Autonomous Decision OS: Engineering deterministic, prefrontal-cortex-style reasoning architectures and state machine governance for complex physical environments.
- Interactive Creative Aesthetics: Fusing functional automation with refined visual craft and modern design philosophy to build delightful tools.
๐ Physical AI & Robotics Ecosystem (Cross-Links)
- Official Hub: ๐ค Hugging Face (@hwihwalab)
- ๐ Related Robotics & Game AI Showcase:
- ๐ฌ Physics Bricks & Web Arcade: mujoco-physics-playengine (Current Project) โ 10 MuJoCo procedural physics bricks & autonomous robotics arcade.
- ๐น๏ธ Inverted Pendulum Control (PPO): cartpole-v1-ppo โ Reinforcement learning benchmark directly paired with Brick #07 Cart Balancer.
- ๐ค Bimanual Robotic Manipulation: act-aloha-sim-transfer-cube โ Action Chunking Transformer simulation paired with Brick #09 Claw Machine kinematics.
- ๐ฆ 3D Bipedal Locomotion & Teleop: microduck-3d-bipedal-teleop โ 3D interactive bipedal robotics simulator running live in browser.
- ๐ซ Indie Game Studio Decision Brain: CHOCO-BRAIN-v1 โ Edge prefrontal reasoning cortex for solo indie game creators & studio operations.
๐ License
Distributed under the Apache 2.0 License. See the LICENSE file for complete details.
๐ฐ๐ท ํ๊ตญ์ด ์์ฝ ์๋ด (Click to expand Korean summary)
Jelly Bean PlayEngine์ ํ์ ์ฐ๊ตฌ์ฉ ๋ค์ฒด ๋์ญํ ์์ง์ธ MuJoCo v3.3.0์ ๊ฐ๋ ฅํ ์์น ํด์ ์ญ๋์ ๋์ค ์นํ์ ์ธ ์ธํฐ๋ํฐ๋ธ 3D ์์ผ์ด๋๋ก ์นํ์ํจ Physical AI & ๋ก๋ณดํฑ์ค ์๋ฎฌ๋ ์ด์ ํ๋ซํผ์ ๋๋ค.
10๋ ๋ฏธ๋๊ฒ์์ ์ฌ์ธต ๋ฌผ๋ฆฌ ํด์ ์์, ๋ก๋ณดํฑ์ค ์ ์ด ์๊ณ ๋ฆฌ์ฆ ๋ฐ ์์ธ ํ๋ ์ด ๊ฐ์ด๋๋ **๐ ํ๊ตญ์ด ๋งค๋ด์ผ**์์ ํ์ธํ์ค ์ ์์ต๋๋ค.
๐ฎ ํ์ ๊ณตํต ๋จ์ถํค ์์ฝ (Quick Shortcuts)
| ๋จ์ถํค | ๊ธฐ๋ฅ ๋ช ์นญ | ์์ธ ์ค๋ช |
|---|---|---|
Space |
์ฃผ์ ์ก์ ์คํ | ๋ฌผ๋ฆฌ ์์ / ์ ค๋ฆฌ๋น ํฌํ / ๋๋ฏธ๋ ธ ๋๊ฒฉ / ์ํฌ๋ก๋ฐํฑ ํฅ / ๋ํฌ ๋ฐ์ฌ ์ฆ์ ํธ๋ฆฌ๊ฑฐ |
R |
์์์น ์ฆ๊ฐ ๋ฆฌ์ | ๋ชจ๋ ์ค๋ธ์ ํธ ์์น, ํ์ด๋จธ, ์ค์๊ฐ ์ ์ HUD๋ฅผ ๋๊ธฐ(Ready) ์ด๊ธฐ ์ํ๋ก ์์ ๋ณต๊ตฌ |
C |
3-Way ์นด๋ฉ๋ผ ์ ํ | ์ ๋ฉด ๋ทฐ(Front ๐ฅ) โ 45๋ ์ฟผํฐ ๋ทฐ(Quarter ๐) โ ํ๋ค์ด ๋ทฐ(Top-Down ๐) ์ํ ์ ํ |
M |
์ค๋งํธ AI / ์๋ ํ ๊ธ | ์ธ๊ฐ ํ๋ ์ด์ด ์ง์ ์๋ ์กฐ์ โ ๋๋ํ ์ค๋งํธ AI ์์จ์ฃผํ ๋ชจ๋ ์ํด๋ฆญ ์ ํ |
F |
16:9 ์์ด๋ ์ ์ฒดํ๋ฉด | ๊ตฐ๋๋๊ธฐ ์๋ ์์ผ์ด๋ ์ฝํ ์ ์ฒดํ๋ฉด ๋ชฐ์ ๋ชจ๋ ํ ๊ธ |
๐ ๐ 10๋ ๋ฏธ๋๊ฒ์๋ณ ์์ธ ์กฐ์๋ฒ & ๋ฌผ๋ฆฌ ์ด๋ก ์ ์ฒด๋ณด๊ธฐ
Designed and engineered with Jelly Bean PlayEngine by HWIHWA LAB (@hwihwalab)