From 2a64b171ba4790b1b62f070e0802c4f5ec832a54 Mon Sep 17 00:00:00 2001 From: tfrere Date: Thu, 20 Aug 2026 11:22:47 +0200 Subject: [PATCH] feat: per-key hint highlighting, no default forward command, rename roulade to roll in UI and internals Co-authored-by: Cursor --- README.md | 2 +- index.html | 23 +++++----- rl.js | 122 ++++++++++++++++++++++++++--------------------------- 3 files changed, 72 insertions(+), 75 deletions(-) diff --git a/README.md b/README.md index eb442d2..7c57dcf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ runs the policy network at 50 Hz. No server, no backend. |--------|-----------|--------------| | Run | `BEST_alpha_walking.onnx` | Velocity-tracking locomotion (arrows / WASD to steer) | | Sit | `BEST_alpha_sitstand.onnx` | Sits down on its hull, stands back up | -| Roulade | `roulade.onnx` | Rolls over and recovers | +| Roll | `roulade.onnx` | Rolls over and recovers | Policies and MJCF model from [apirrone/microduck_runtime](https://github.com/apirrone/microduck_runtime) diff --git a/index.html b/index.html index aef160d..bdf3644 100644 --- a/index.html +++ b/index.html @@ -174,8 +174,7 @@ text-align: center; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; } - #hud .keys .hint.lit { color: var(--yellow); } - #hud .keys .hint.lit .key { + #hud .keys .key.lit { background: var(--yellow); border-color: var(--yellow); color: var(--ink); @@ -275,17 +274,17 @@ turn - ↑↓ move   - ←→ turn   - AE strafe
- Space roll   - R reset   + ↑↓ move   + ←→ turn   + AE strafe
+ Space roll   + R reset   drag to orbit · scroll to zoom
gamepad: - X roll   - ⇓ sit   - ⇑ run   - RT quack + X roll   + ⇓ sit   + ⇑ run   + RT quack @@ -303,7 +302,7 @@ appended: a plain src attribute can 401 when the browser blocks the *.static.hf.space auth cookie inside the hub iframe. -->