hwihwalab's picture
feat(wasm): deploy real 60FPS MuJoCo WebAssembly physics engine (Zero Docker, Zero GIFs)
03b90d6 verified
|
Raw History Blame Contribute Delete
8.45 kB
---
title: "Jelly Bean PlayEngine: 10 Pop Physics Bricks"
emoji: ๐Ÿฌ
colorFrom: pink
colorTo: yellow
sdk: static
pinned: true
short_description: "MuJoCo 10-in-1 Cute Physics Arcade & AI Sandbox"
tags:
- mujoco
- physical-ai
- robotics
- reinforcement-learning
- simulation
- web-game
- arcade
- educational
- hwihwalab
---
# ๐Ÿฌ Jelly Bean PlayEngine: 10 Pop Physics Bricks
[![๐Ÿค— Spaces 3D Live Arcade](https://img.shields.io/badge/๐Ÿค—%20Spaces%203D%20Live-PlayEngine-blue?logo=huggingface)](#) [![Model Hub](https://img.shields.io/badge/๐Ÿค—%20Model%20Hub-PlayEngine-yellow)](https://huggingface.co/hwihwalab/mujoco-physics-playengine) [![Language: English](https://img.shields.io/badge/Language-English-007ACC)](https://huggingface.co/hwihwalab/mujoco-physics-playengine) [![Language: ํ•œ๊ตญ์–ด](https://img.shields.io/badge/Language-ํ•œ๊ตญ์–ด-7cb342)](https://huggingface.co/hwihwalab/mujoco-physics-playengine/blob/main/README_KR.md) [![HWIHWA LAB](https://img.shields.io/badge/Research%20Lab-HWIHWA%20LAB-d0f991?labelColor=050807)](https://huggingface.co/hwihwalab) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://huggingface.co/hwihwalab/mujoco-physics-playengine/blob/main/LICENSE)
> โ€œ**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 v3.3.0 physics engine (500Hz PGS numerical solver, $dt=0.002\text{s}$) and 30 FPS zero-latency browser streaming. Features 10 standalone procedural physics bricks, 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](https://huggingface.co/hwihwalab/mujoco-physics-playengine) | ๐Ÿ‡ฐ๐Ÿ‡ท [ํ•œ๊ตญ์–ด ๋งค๋‰ด์–ผ](https://huggingface.co/hwihwalab/mujoco-physics-playengine/blob/main/README_KR.md) | ๐Ÿฌ [Interactive 3D Arcade](https://huggingface.co/spaces/hwihwalab/mujoco-physics-playengine)โ€
> *Developed by [Hwihwa Lab](https://github.com/Hwihwa-Lab) ยท AI ร— Automation ร— Aesthetics โœจ*
<div align="center">
<img src="assets/banner.png" alt="Jelly Bean PlayEngine 10 Physics Bricks" width="100%" style="border-radius: 16px; margin: 16px 0;">
</div>
---
## ๐ŸŽฎ 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 & Win Condition | 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) |
---
## ๐Ÿ‘ค 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)](https://huggingface.co/hwihwalab)
- **๐Ÿš€ Related Robotics & Game AI Showcase**:
- ๐Ÿฌ **Physics Bricks & Web Arcade**: [mujoco-physics-playengine](https://huggingface.co/spaces/hwihwalab/mujoco-physics-playengine) *(Current Project)* โ€” 10 MuJoCo procedural physics bricks & autonomous robotics arcade.
- ๐Ÿ•น๏ธ **Inverted Pendulum Control (PPO)**: [cartpole-v1-ppo](https://huggingface.co/hwihwalab/cartpole-v1-ppo) โ€” Reinforcement learning benchmark directly paired with Brick #07 Cart Balancer.
- ๐Ÿค– **Bimanual Robotic Manipulation**: [act-aloha-sim-transfer-cube](https://huggingface.co/hwihwalab/act-aloha-sim-transfer-cube) โ€” Action Chunking Transformer simulation paired with Brick #09 Claw Machine kinematics.
- ๐Ÿฆ† **3D Bipedal Locomotion & Teleop**: [microduck-3d-bipedal-teleop](https://huggingface.co/spaces/hwihwalab/microduck-3d-bipedal-teleop) โ€” 3D interactive bipedal robotics simulator running live in browser.
- ๐Ÿซ **Indie Game Studio Decision Brain**: [CHOCO-BRAIN-v1](https://huggingface.co/hwihwalab/connectailab-CHOCO-BRAIN-v1) โ€” Edge prefrontal reasoning cortex for solo indie game creators & studio operations.
---
## ๐Ÿ“œ License
Distributed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). See the [LICENSE](https://huggingface.co/hwihwalab/mujoco-physics-playengine/blob/main/LICENSE) file for complete details.
---
*Designed and engineered with [Jelly Bean PlayEngine](https://huggingface.co/spaces/hwihwalab/mujoco-physics-playengine) by **HWIHWA LAB** ([@hwihwalab](https://huggingface.co/hwihwalab))*