Skip to content
dankezoPublic

Repository files navigation

🔬 3D Lab

Open-source library for testing 3D and motion by Danny.

English | Tiếng Việt | 中文 | Español | Русский

Live Three.js License: MIT Stars

🌐 Live demo

https://3dlabobo.dannyphan.me/

Open it and pick a lab. No install, no build, no account. Works on desktop and phone.

🧪 Labs

Lab What it is Try it
Lab 01 - Cat Jelly Press Hydraulic press for jelly cats. Hold to press up to 400 bar, cats flatten, crack and burst into material-specific debris. 7 materials, rare Gen objects (poop, watermelon, Chii, mini press, bomb), real collision and stacking. Open Lab 01
Lab 02 - Mecha Cat Teardown Procedural Three.js mecha cat driven by one solver (crank phase, trot gait, 2-bone IK legs). Take it apart subsystem by subsystem - head, energy core, chassis, tail, four legs - with live charts, X-Ray and exploded views, and a self-driving tour. 3 machine configs: Ceramic, Stealth, Hazard. Open Lab 02
Lab 03 - Lightwater World Procedural WebGPU underwater world, forked from Noniv/abyssal-garden (MIT). Swim third-person as a gold fish with a glowing stripe, meet glowing jellyfish, an 8-segment mecha worm and new fish schools in bright aqua water. No engine, no model files. Open Lab 03
Lab 04 - Nếp Giấy Playable paper diorama of Hanoi in autumn: walk around Hoàn Kiếm Lake, St Joseph's Cathedral and the Old Quarter, stamping 19 landmarks into your passport. Three.js + OpenStreetMap, EN/VI in game. Map data © OpenStreetMap contributors (ODbL); papercraft motion code from Shikhar's MIT work. Open Lab 04

Lab 01 source: dankezo/cat-jelly. Lab 02 source: this repo. Lab 03 source: dankezo/lightwaterworld. Lab 04 source: dankezo/nep-giay.

✨ Why it is fun

  • Real physics, not a video - press, drag, throw, stack and break things with your own hands.
  • Take machines apart - every subsystem detaches, with X-Ray and exploded views.
  • Live telemetry - servo torque, foot lift, core temperature and power draw, charted in real time.
  • One HTML file per lab - plain Three.js, no framework, no build step, nothing to install.
  • Phone first - every lab fits one phone screen, touch controls included.

🚀 Run it locally

git clone https://github.com/dankezo/3Dlabobo.git
cd 3Dlabobo
python3 -m http.server 8000
# open http://localhost:8000

Or just open index.html in a browser. Any static host works, GitHub Pages included.

🧱 Add your own lab

Every lab ships with full documentation, a master prompt, and a required tools / CLI / skills list, so it can be reproduced exactly. See labs/lab-02-mecha-cat-teardown/ for the pattern, and keep each lab on its own page - the hub only navigates, it never embeds a lab.

🗂 Repo map

3Dlabobo/
├── index.html                       # Hub - 4 redirect tiles, Lab 01 + Lab 02 + Lab 03 + Lab 04
├── labs/
│   ├── lab-01-cat-jelly-press/      # Cat Jelly Press (press.html + README.md)
│   └── lab-02-mecha-cat-teardown/   # Mecha Cat Teardown (index.html + README.md + docs/)
├── WORKFLOW-lab2-mecha-cat-teardown.md  # 9-step build workflow for Lab 02
├── trials.html                      # Trial models (Dragon, Sandworm, Laser Gun, Mega Poro)
├── DESIGN.md                        # Hub design system
├── LICENSE
└── README.md

🛠 Tech

Three.js (inlined, no CDN) - vanilla JavaScript - single-file HTML - GitHub Pages.

📄 License

MIT - see LICENSE. Made by dankezo.

Releases

Packages

Contributors

Languages