Type a motion, watch a rigged character perform it: fast video model + GVHMR + live Mixamo retargeting
JavaScript
Brand prompt2rig as a universal-modder tool
blendi-remade52b94b48a9c8
diff --git a/.gitignore b/.gitignoreindex 5a85fb3..84c8597 100644--- a/.gitignore+++ b/.gitignore@@ -32,3 +32,8 @@ bench/out/*.taskcaptures_hands/captures_hero/++# generated by tools/brand_assets.py+public/brand/fonts/*.ttf+readme_preview.html+public/_preview/diff --git a/NOTICE b/NOTICEindex 0a0eeaa..e9491f5 100644--- a/NOTICE+++ b/NOTICE@@ -1,4 +1,4 @@-Prompt2Rig+prompt2rigCopyright 2026 blendi-remadeThis product is licensed under the Apache License, Version 2.0 (see LICENSE).@@ -7,7 +7,11 @@ Portions of hq/worker.py (the SMPL joint computation in `leg_length`) are adapteMotion2MixamoRig (https://github.com/MaxLiu22/Motion2MixamoRig), Copyright its authors,licensed under the Apache License, Version 2.0.-This repository does not include third-party models or assets. At runtime it downloads or+The universal-modder logos in public/brand and docs/media are the brand assets of universal-modder,+used here by the universal-modder team. The fonts in public/brand/fonts (Geist Pixel, Instrument Sans,+Sometype Mono) are licensed under the SIL Open Font License 1.1; their license files sit next to them.++Apart from those, this repository does not include third-party models or assets. At runtime it downloads orloads components under their own licenses, including some that are NON-COMMERCIAL or copyleft:- GVHMR (zju3dv) and the `gvhmr` package: educational, research and non-profit use only.diff --git a/README.md b/README.mdindex c585c61..779e94f 100644--- a/README.md+++ b/README.md@@ -1,61 +1,89 @@-# Prompt2Rig--**Type a motion, watch a rigged character perform it — in seconds.**--A text prompt goes to a fast video model on fal — [MiniMax H3 Max Turbo](https://fal.ai/models/minimax/h3-max-turbo/image-to-video) (faster than real time) or [FLUX 3 Max](https://fal.ai/models/blackforestlabs/flux-3-max/image-to-video) (higher fidelity, ~real time) — the clip's human motion is recovered with [GVHMR](https://github.com/zju3dv/GVHMR) on a local GPU, and retargeted live onto a Mixamo skeleton in the browser. Inspired by [Motion2MixamoRig](https://github.com/MaxLiu22/Motion2MixamoRig), rebuilt for interactive speed.--+<p align="center">+ <img src="docs/media/banner.png" alt="prompt2rig by universal-modder: type a motion. a video model acts it out, your gpu lifts the 3d motion, fingers included, and any mixamo character performs it." width="100%">+</p>++<p align="center">+ <b>Type a motion. A video model acts it out, and any rigged character performs it, fingers included.</b><br>+ A prompt goes to a fast video model on <a href="https://fal.ai">fal</a>, your GPU recovers clean 3D body and hand motion from the clip,+ and it plays live on a Mixamo character in the browser, ready to export to Blender or Unity.+</p>++<p align="center">+ <a href="https://discord.gg/Vp3cw3e29"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/media/discord-dark.svg"><img src="docs/media/discord-light.svg" height="32" alt="join the discord"></picture></a> + <a href="https://universalmodder.com"><img src="docs/media/button-website.png" height="32" alt="visit universalmodder.com"></a> + <a href="https://x.com/universalmodhq"><img src="docs/media/button-x.png" height="32" alt="follow @universalmodhq on x"></a>+</p>++<p align="center">+ <img src="docs/media/teaser.gif" alt="Five takes made from prompts, each with its generated source clip in the corner: Michelle's side kick, an X Bot cheerleading high kick, a close-up of tracked fingers, an X Bot crane kick and Michelle's bollywood pose, with the universal-modder tile in the corner." width="560">+</p>++<p align="center">+ <a href="#how-it-works"><img alt="video: flux 3 max · h3 max turbo" src="docs/media/badges/video.png" height="26"></a>+ <a href="#how-it-works"><img alt="motion: gvhmr · wilor fingers" src="docs/media/badges/motion.png" height="26"></a>+ <a href="#license"><img alt="license: apache-2.0" src="docs/media/badges/license.png" height="26"></a>+</p>++<p align="center">A <a href="https://universalmodder.com">universal-modder</a> tool. Share what you make, get help, and follow along on+<a href="https://discord.gg/Vp3cw3e29">discord</a> and <a href="https://x.com/universalmodhq">x</a>.</p>## How it works```mermaidflowchart LR- P[prompt] --> V["H3 Max Turbo / FLUX 3 Max<br/>5s clip · 0.5–4.5s GPU"]- I["performer image<br/>or previous clip's last frame"] --> V- V --> L["MediaPipe (browser)<br/>instant preview"]- V --> H["GVHMR (local GPU)<br/>SMPL motion · ~3.4s"]+ P[prompt] --> V["FLUX 3 Max / H3 Max Turbo<br/>on fal"]+ I["performer image<br/>or the last clip's final frame"] --> V+ V --> L["MediaPipe · browser<br/>instant preview"]+ V --> H["GVHMR · your GPU<br/>3D body motion"]+ V --> F["WiLoR · your GPU<br/>wrists + fingers"]L --> R[Mixamo rig]H -- cross-fade --> R- R --> G[.glb export]+ F --> R+ R --> G[".glb · Blender render"]```| Stage | Where | Time (5s clip, RTX 4090) ||---|---|---|-| Video generation | fal · H3 Max Turbo (480P) | ~2–3s wall (0.5s GPU) |-| | fal · FLUX 3 Max (720p) | ~8–9s wall (4.5s GPU) |-| **Live** preview — MediaPipe Pose, retargeted per frame | browser | immediate |-| **HQ** motion — GVHMR → SMPL rotations → Mixamo | local GPU worker | ~3.5–4s (0.7–0.8× real time) |-| **Fingers** — WiLoR hand model (MediaPipe fallback), in parallel with GVHMR | local GPU worker | +~0.3s |+| Video | fal · FLUX 3 Max (720p) | ~8–9s (4.5s GPU) |+| | fal · H3 Max Turbo (480P) | ~2–3s (0.5s GPU) |+| **Live** preview: MediaPipe Pose, retargeted per frame | browser | immediate |+| **HQ** motion: GVHMR → SMPL rotations → Mixamo | local GPU worker | ~3.5–4s |+| **Fingers**: WiLoR (MediaPipe fallback), in parallel with GVHMR | local GPU worker | +~0.3s |-The live pass hides the wait; the HQ pass is the real result. GVHMR sees the whole clip at once, outputs joint *rotations* on a fixed-proportion body, and recovers a gravity-aware root path — so there's no jitter, limb stretching, or twisted forearms.+The live pass covers the wait; the HQ pass is the result. GVHMR sees the whole clip at once, outputs joint rotations+on a fixed-proportion body and recovers a gravity-aware root path, so there's no jitter, limb stretching or twisted+forearms. WiLoR adds the palm and all 15 finger joints per hand.-+<p align="center"><img src="docs/media/app.png" alt="The prompt2rig app: the generated clip with its pose overlay on the left, Michelle mid side kick on the stage, the take list along the bottom." width="100%"></p>## Quick start-**Needs:** Node 18+, a [fal](https://fal.ai) API key. For the HQ pass: Windows + NVIDIA GPU, [`uv`](https://docs.astral.sh/uv/), `ffmpeg` on PATH.+**Needs:** Node 18+ and a [fal](https://fal.ai) API key. For the HQ pass: Windows, an NVIDIA GPU,+[`uv`](https://docs.astral.sh/uv/) and `ffmpeg` on PATH.```bashgit clone https://github.com/blendi-remade/prompt2rig && cd prompt2rigcp .env.example .env # add your FAL_KEY-node server.mjs # → http://localhost:5177 (live preview works now)+node server.mjs # → http://localhost:5177 (the live preview works now)```-**HQ pass (optional, recommended):**+**HQ pass (recommended):**```powershell-hq\setup.ps1 # venv, CUDA PyTorch, GVHMR + ~5 GB checkpoints+hq\setup.ps1 # venv, CUDA PyTorch, GVHMR + ~5 GB of checkpoints```-Then download **SMPL-X v1.1 (NPZ)** from [smpl-x.is.tue.mpg.de](https://smpl-x.is.tue.mpg.de/) (free registration) and put `SMPLX_NEUTRAL.npz` in `hq/body_models/smplx/`.+Download **SMPL-X v1.1 (NPZ)** from [smpl-x.is.tue.mpg.de](https://smpl-x.is.tue.mpg.de/) (free registration) and put+`SMPLX_NEUTRAL.npz` in `hq/body_models/smplx/`.-**Finger tracking (optional):** WiLoR needs the MANO hand model — register at [mano.is.tue.mpg.de](https://mano.is.tue.mpg.de) and download *Models & Code* (`mano_v1_2.zip`), then:+**Finger tracking (optional):** WiLoR needs the MANO hand model. Register at [mano.is.tue.mpg.de](https://mano.is.tue.mpg.de),+download *Models & Code* (`mano_v1_2.zip`), then:```powershell-hq\.venv\Scripts\python hq\setup_hands.py $HOME\Downloads\mano_v1_2.zip # WiLoR weights + MANO (converted for modern Python)+hq\.venv\Scripts\python hq\setup_hands.py $HOME\Downloads\mano_v1_2.zip # WiLoR weights + MANO```-Without MANO, fingers fall back to MediaPipe Hands (less accurate depth). Start the worker next to the web server:+Without MANO, fingers fall back to MediaPipe Hands (rougher depth). Then start the worker next to the web server:```powershellhq\.venv\Scripts\python hq\worker.py # → 127.0.0.1:5178, loads once and stays warm@@ -63,76 +91,98 @@ hq\.venv\Scripts\python hq\worker.py # → 127.0.0.1:5178, loads once and sta## Using it-- **Generate** a prompt or click a preset. By default every clip starts from the same flux-generated *performer* (one person, full body, plain backdrop, static camera — ideal pose-estimation input).-- **Video model** — *H3 Max Turbo* for the snappiest loop and Stream mode; *FLUX 3 Max* for more realistic motion (best for single takes — at ~9s per 5s clip it can't keep a chained stream fed yet).-- **Character** — X Bot, Michelle or Soldier (textured Mixamo rigs from the three.js examples), or **Load Mixamo file…** for any Mixamo `.fbx`/`.glb` (download from [mixamo.com](https://www.mixamo.com), T-pose).-- **Track fingers** — the HQ pass also recovers hands: WiLoR (MANO-based) on the full-resolution clip, assigned to the body's wrists, rotated into the motion's world frame and smoothed; the rig gets palm orientation plus all 15 finger joints. Untracked hands rest in a natural curl.-- **Swap character every loop** — X Bot → Michelle → Soldier, cutting on each loop (or each new clip in Stream mode). The motion lives on one hidden driver rig; the character on stage copies its pose, so swapping is instant.-- **Cinematic camera** — slow arc and push-in around the performer on a studio stage (environment lighting, warm key + cool rim, soft reflective floor, contact shadows). Drag to take over; it resumes after a few seconds.-- **Orientation** — portrait 9:16 (default) or landscape 16:9. Portrait gives the performer ~70% more pixels of height at 480P, which helps pose estimation.-- **Stream mode** — one continuous performance: each clip continues from the previous clip's last frame, plays once its HQ motion is ready while the next one generates, and short idle clips fill gaps between prompts. First motion ≈ 6s after the first prompt, continuous after that.-- **⬇ GLB** on any take exports the skinned character with the animation clip (Blender, Unity, three.js), and keeps a copy plus the source-clip URL in `takes/`.-- **Prompts that retarget well** face the camera with limbs clear of the body — dance, boxing, golf/basketball mimes, celebrations, kata. Flips, spins, floor work and crossed or hidden arms confuse any monocular pose estimator. The presets and the prompt template steer toward this.-- **Use a video file…** runs the live pass on your own footage.+- **Generate** from a prompt or a preset. Every clip starts from the same flux-made *performer* (one person, full body,+ plain backdrop, static camera), which is the input pose estimation likes best.+- **Video model.** *FLUX 3 Max* for the most realistic motion; *H3 Max Turbo* for the fastest loop and stream mode.+- **Character.** X Bot, Michelle or Soldier (textured Mixamo rigs from the three.js examples), or **load mixamo file…**+ for any Mixamo `.fbx` / `.glb` from [mixamo.com](https://www.mixamo.com) (T-pose).+- **Track fingers.** WiLoR runs on the full-resolution clip; hands are matched to the body's wrists, rotated into the+ motion's world frame and smoothed. Untracked hands rest in a natural curl.+- **Stream mode.** One continuous performance: each clip picks up from the last one's final frame, plays once its HQ+ motion is in while the next one generates, and short idle clips fill the gaps between prompts.+- **Swap character every loop**, **cinematic camera**, portrait or landscape clips.+- **↓ glb** on any take exports the skinned character with its animation, and keeps a copy plus the source clip's URL in `takes/`.-## Blender renders+**Prompts that retarget well** face the camera with the limbs clear of the body: dances, kicks, kata, sport mimes,+celebrations, clear hand shapes. Flips, spins, floor work and crossed or hidden arms confuse any single-camera pose+estimator; the presets and the prompt template steer away from them.-Turn any saved take into a polished clip — studio cyclorama, three-point lighting, slow camera arc — headlessly:+## Renders and recordings++**Blender.** Turn a saved take into a studio clip (cyclorama, three-point light, slow camera arc), headless:```powershell-& "C:\Program Files\Blender Foundation\Blender 5.2lender.exe" -b -P tools/render_blender.py -- takes/<take>.glb --side-by-side+& "C:\Program Files\Blender Foundation\Blender 5.2\blender.exe" -b -P tools/render_blender.py -- takes/<take>.glb --side-by-side```-Writes `renders/<take>.mp4` (1080×1920 by default, `--res 1920x1080` for landscape) and, with `--side-by-side`, `renders/<take>_compare.mp4` with the generated source clip next to the render. Pass several `.glb` files to place characters side by side; `--preview` renders a quick low-res draft.+It writes `renders/<take>.mp4` (1080×1920, or `--res 1920x1080`) and, with `--side-by-side`, the source clip next to the render.++**App recordings.** `tools/capture.mjs` drives an off-screen Chrome and records takes frame by frame at 2560×1440, so+nothing on your screen is touched:++```bash+node tools/capture.mjs --prompts tools/prompts_dynamic.txt --character xbot --out captures+node tools/capture.mjs --clip <video url> --prompt "..." --passes 2 --zoom 5.2-10.0 --zoom-bone RightHand+```## Project layout| Path | ||---|---|-| `server.mjs` | zero-dependency server; proxies fal (key stays server-side) and the HQ worker |-| `public/app.js` | UI, generation queue, live pose loop, playback & blending, stream mode, GLB export |-| `public/stage.js` | studio stage: lighting, reflective floor, contact shadows, cinematic camera |-| `public/retarget.js` | Mixamo rig wrapper: MediaPipe landmarks → bones, SMPL rotations → bones, rig-to-rig pose copy, grounding |-| `hq/hands.py` | finger tracking: WiLoR (batched) / MediaPipe backends, wrist assignment, camera→world, smoothing |-| `tools/render_blender.py` | headless Blender (5.x) renderer for exported takes |-| `bench/` | hand-pose test bench: detection/jitter metrics, 2D overlays, source-vs-rig close-up reviews |+| `server.mjs` | zero-dependency server; proxies fal (the key stays server-side) and the HQ worker |+| `public/app.js` | UI, generation queue, live pose loop, playback and blending, stream mode, GLB export, capture hooks |+| `public/stage.js` | the stage: lighting, reflective floor, contact shadows, cinematic camera |+| `public/retarget.js` | Mixamo rig: MediaPipe landmarks → bones, SMPL rotations → bones, fingers, rig-to-rig pose copy |+| `public/brand/` | universal-modder logos and fonts (Geist Pixel, Instrument Sans, Sometype Mono, all OFL) || `hq/worker.py` | FastAPI worker around the `gvhmr` package, tuned for single-person generated clips |+| `hq/hands.py` | finger tracking: batched WiLoR or MediaPipe, wrist assignment, camera → world, smoothing |+| `tools/` | Blender renderer, off-screen capture, prompt lists, README media generator |+| `bench/` | hand-pose test bench: detection and jitter metrics, 2D overlays, source-vs-rig close-ups |<details>-<summary><b>HQ worker speedups</b> (stock <code>gvhmr.recover</code> 10s → 3.4s per 5s clip)</summary>+<summary><b>HQ worker speedups</b> (stock <code>gvhmr.recover</code>: 10s → 3.4s per 5s clip)</summary>- batched single-person YOLO11m instead of frame-by-frame YOLOv8x + BoT-SORT tracking- decoded frames reused by the crop stage (OpenCV) instead of a second PyAV decode-- ViTPose without flip-test (`HQ_POSE_FLIP=1` to re-enable — measured 0.6° mean joint difference)+- ViTPose without flip-test (`HQ_POSE_FLIP=1` turns it back on; measured 0.6° mean joint difference)- 24→30 fps resample with ffmpeg `ultrafast`, long side capped at 854px (GVHMR only sees 256px crops)- fixed detector batch shape and per-orientation warm-up; all GPU work on one warmed-up thread-- left/right keypoint-swap stabilizer from Motion2MixamoRig-- camera-relative heading so chained clips line up (seams: 1–5° hips, ≤5 cm root)+- WiLoR batched (2.3× faster than per-frame, same output within 0.25px) and run alongside GVHMR+- left/right keypoint-swap stabilizer from Motion2MixamoRig; camera-relative heading so chained clips line up</details>## Credits-- [GVHMR](https://github.com/zju3dv/GVHMR) (ZJU3DV) via the [`gvhmr`](https://pypi.org/project/gvhmr/) package · [Motion2MixamoRig](https://github.com/MaxLiu22/Motion2MixamoRig) for the idea, the keypoint stabilizer and the SMPL joint helper-- [MediaPipe Pose](https://ai.google.dev/edge/mediapipe/solutions/vision/pose_landmarker) · [three.js](https://threejs.org) (X Bot, Michelle and Soldier from its examples) · video and image models on [fal](https://fal.ai)+- [GVHMR](https://github.com/zju3dv/GVHMR) (ZJU3DV) via the [`gvhmr`](https://pypi.org/project/gvhmr/) package ·+ [WiLoR](https://github.com/rolpotamias/WiLoR) via [WiLoR-mini](https://github.com/warmshao/WiLoR-mini) ·+ [Motion2MixamoRig](https://github.com/MaxLiu22/Motion2MixamoRig) by [@MaxLiu09](https://x.com/MaxLiu09), which started this+- [MediaPipe](https://ai.google.dev/edge/mediapipe) · [three.js](https://threejs.org) (X Bot, Michelle and Soldier from its examples) ·+ video and image models on [fal](https://fal.ai)-## License+## Community-Prompt2Rig's own code is licensed under **[Apache-2.0](LICENSE)** (see [NOTICE](NOTICE)).+Made by the [universal-modder](https://universalmodder.com) crew.+[Discord](https://discord.gg/Vp3cw3e29) · [X @universalmodhq](https://x.com/universalmodhq) · [universalmodder.com](https://universalmodder.com)++## License-It runs alongside third-party components that keep their own licenses — none are included in this repo:+prompt2rig's own code is **[Apache-2.0](LICENSE)** (see [NOTICE](NOTICE)). It runs alongside third-party components+that keep their own licenses; none are included in this repo:| Component | License | Commercial use ||---|---|---|-| [GVHMR](https://github.com/zju3dv/GVHMR) — the HQ motion pass | educational / research / non-profit only | ❌ |-| [SMPL-X](https://smpl-x.is.tue.mpg.de/) body model | non-commercial, registration required | ❌ (separate commercial license from Meshcapade) |-| [WiLoR](https://github.com/rolpotamias/WiLoR) — finger tracking | CC-BY-NC-ND | ❌ |+| [GVHMR](https://github.com/zju3dv/GVHMR): the HQ motion pass | educational / research / non-profit only | ❌ |+| [SMPL-X](https://smpl-x.is.tue.mpg.de/) body model | non-commercial, registration required | ❌ (commercial license from Meshcapade) |+| [WiLoR](https://github.com/rolpotamias/WiLoR): finger tracking | CC-BY-NC-ND | ❌ || [MANO](https://mano.is.tue.mpg.de) hand model | non-commercial, registration required | ❌ |-| [Ultralytics YOLO](https://github.com/ultralytics/ultralytics) — person detector in the HQ worker | AGPL-3.0 | ⚠️ copyleft, or an Ultralytics enterprise license |+| [Ultralytics YOLO](https://github.com/ultralytics/ultralytics): detectors in the HQ worker | AGPL-3.0 | ⚠️ copyleft, or an Ultralytics enterprise license || MediaPipe · three.js | Apache-2.0 · MIT | ✅ |+| Geist Pixel · Instrument Sans · Sometype Mono | SIL OFL 1.1 (bundled in `public/brand/fonts`) | ✅ || Mixamo characters | Adobe Mixamo terms (loaded from the three.js CDN, not redistributed) | ✅ in your own projects |-| H3 Max Turbo, FLUX 3 Max, FLUX.1 schnell | fal and model-provider terms | per those terms |+| FLUX 3 Max, H3 Max Turbo, FLUX.1 schnell | fal and model-provider terms | per those terms |-In short: the web app, live preview and video generation are commercially usable; the **HQ path (GVHMR + SMPL-X) is research / non-commercial**, so a commercial product would need to replace or license those pieces.+In short: the web app, the live preview and video generation are commercially usable; the **HQ path (GVHMR, SMPL-X,+WiLoR, MANO) is research / non-commercial**, so a commercial product would need to replace or license those pieces.-Prototype — tested on Windows 11 with an RTX 4090.+Tested on Windows 11 with an RTX 4090.diff --git a/docs/app.jpg b/docs/app.jpgdeleted file mode 100644index 8eb6367..0000000Binary files a/docs/app.jpg and /dev/null differdiff --git a/docs/demo.gif b/docs/demo.gifdeleted file mode 100644index ab9f484..0000000Binary files a/docs/demo.gif and /dev/null differdiff --git a/docs/media/app.png b/docs/media/app.pngnew file mode 100644index 0000000..b659171Binary files /dev/null and b/docs/media/app.png differdiff --git a/docs/media/badges/license.png b/docs/media/badges/license.pngnew file mode 100644index 0000000..e5ddf6bBinary files /dev/null and b/docs/media/badges/license.png differdiff --git a/docs/media/badges/motion.png b/docs/media/badges/motion.pngnew file mode 100644index 0000000..68db90eBinary files /dev/null and b/docs/media/badges/motion.png differdiff --git a/docs/media/badges/video.png b/docs/media/badges/video.pngnew file mode 100644index 0000000..007e6ceBinary files /dev/null and b/docs/media/badges/video.png differdiff --git a/docs/media/banner.png b/docs/media/banner.pngnew file mode 100644index 0000000..79c595aBinary files /dev/null and b/docs/media/banner.png differdiff --git a/docs/media/button-discord.png b/docs/media/button-discord.pngnew file mode 100644index 0000000..cce1718Binary files /dev/null and b/docs/media/button-discord.png differdiff --git a/docs/media/button-website.png b/docs/media/button-website.pngnew file mode 100644index 0000000..d38a8b8Binary files /dev/null and b/docs/media/button-website.png differdiff --git a/docs/media/button-x.png b/docs/media/button-x.pngnew file mode 100644index 0000000..aa25ecfBinary files /dev/null and b/docs/media/button-x.png differdiff --git a/docs/media/discord-dark.svg b/docs/media/discord-dark.svgnew file mode 100644index 0000000..6e20c1a--- /dev/null+++ b/docs/media/discord-dark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99 16" width="792" height="128" shape-rendering="crispEdges" role="img" aria-label="join the discord"><path fill="#0E0C10" d="M1 0h97v16h-97zM0 1h99v14h-99z"/><path fill="#F2ECE2" d="M4 3h3v1h-3zM11 3h3v1h-3zM3 4h12v1h-12zM63 4h1v1h-1zM65 4h1v1h-1zM94 4h1v1h-1zM3 5h12v1h-12zM63 5h1v1h-1zM94 5h1v1h-1zM3 6h3v1h-3zM8 6h2v1h-2zM12 6h3v1h-3zM60 6h4v1h-4zM65 6h1v1h-1zM68 6h4v1h-4zM74 6h4v1h-4zM80 6h3v1h-3zM85 6h1v1h-1zM87 6h2v1h-2zM91 6h4v1h-4zM3 7h3v1h-3zM8 7h2v1h-2zM12 7h3v1h-3zM59 7h1v1h-1zM63 7h1v1h-1zM65 7h1v1h-1zM67 7h1v1h-1zM73 7h1v1h-1zM79 7h1v1h-1zM83 7h1v1h-1zM85 7h2v1h-2zM90 7h1v1h-1zM94 7h1v1h-1zM3 8h12v1h-12zM59 8h1v1h-1zM63 8h1v1h-1zM65 8h1v1h-1zM68 8h3v1h-3zM73 8h1v1h-1zM79 8h1v1h-1zM83 8h1v1h-1zM85 8h1v1h-1zM90 8h1v1h-1zM94 8h1v1h-1zM3 9h12v1h-12zM59 9h1v1h-1zM63 9h1v1h-1zM65 9h1v1h-1zM71 9h1v1h-1zM73 9h1v1h-1zM79 9h1v1h-1zM83 9h1v1h-1zM85 9h1v1h-1zM90 9h1v1h-1zM94 9h1v1h-1zM3 10h4v1h-4zM11 10h4v1h-4zM59 10h1v1h-1zM63 10h1v1h-1zM65 10h1v1h-1zM71 10h1v1h-1zM73 10h1v1h-1zM79 10h1v1h-1zM83 10h1v1h-1zM85 10h1v1h-1zM90 10h1v1h-1zM94 10h1v1h-1zM4 11h2v1h-2zM12 11h2v1h-2zM60 11h4v1h-4zM65 11h1v1h-1zM67 11h4v1h-4zM74 11h4v1h-4zM80 11h3v1h-3zM85 11h1v1h-1zM91 11h4v1h-4z"/><path fill="#FF3CD2" d="M6 6h2v1h-2zM10 6h2v1h-2zM6 7h2v1h-2zM10 7h2v1h-2z"/><path fill="#8E8796" d="M20 4h1v1h-1zM28 4h1v1h-1zM44 4h1v1h-1zM40 5h1v1h-1zM44 5h1v1h-1zM20 6h1v1h-1zM23 6h3v1h-3zM28 6h1v1h-1zM30 6h4v1h-4zM39 6h4v1h-4zM44 6h4v1h-4zM51 6h3v1h-3zM20 7h1v1h-1zM22 7h1v1h-1zM26 7h1v1h-1zM28 7h1v1h-1zM30 7h1v1h-1zM34 7h1v1h-1zM40 7h1v1h-1zM44 7h1v1h-1zM48 7h1v1h-1zM50 7h1v1h-1zM54 7h1v1h-1zM20 8h1v1h-1zM22 8h1v1h-1zM26 8h1v1h-1zM28 8h1v1h-1zM30 8h1v1h-1zM34 8h1v1h-1zM40 8h1v1h-1zM44 8h1v1h-1zM48 8h1v1h-1zM50 8h5v1h-5zM20 9h1v1h-1zM22 9h1v1h-1zM26 9h1v1h-1zM28 9h1v1h-1zM30 9h1v1h-1zM34 9h1v1h-1zM40 9h1v1h-1zM44 9h1v1h-1zM48 9h1v1h-1zM50 9h1v1h-1zM20 10h1v1h-1zM22 10h1v1h-1zM26 10h1v1h-1zM28 10h1v1h-1zM30 10h1v1h-1zM34 10h1v1h-1zM40 10h1v1h-1zM44 10h1v1h-1zM48 10h1v1h-1zM50 10h1v1h-1zM20 11h1v1h-1zM23 11h3v1h-3zM28 11h1v1h-1zM30 11h1v1h-1zM34 11h1v1h-1zM41 11h2v1h-2zM44 11h1v1h-1zM48 11h1v1h-1zM51 11h4v1h-4zM18 12h2v1h-2z"/><path fill="#F2ECE2" d="M4 3h3v1h-3zM11 3h3v1h-3zM3 4h12v1h-12zM63 4h1v1h-1zM65 4h1v1h-1zM94 4h1v1h-1zM3 5h12v1h-12zM63 5h1v1h-1zM94 5h1v1h-1zM3 6h3v1h-3zM8 6h2v1h-2zM12 6h3v1h-3zM60 6h4v1h-4zM65 6h1v1h-1zM68 6h4v1h-4zM74 6h4v1h-4zM80 6h3v1h-3zM85 6h1v1h-1zM87 6h2v1h-2zM91 6h4v1h-4zM3 7h3v1h-3zM8 7h2v1h-2zM12 7h3v1h-3zM59 7h1v1h-1zM63 7h1v1h-1zM65 7h1v1h-1zM67 7h1v1h-1zM73 7h1v1h-1zM79 7h1v1h-1zM83 7h1v1h-1zM85 7h2v1h-2zM90 7h1v1h-1zM94 7h1v1h-1zM3 8h12v1h-12zM59 8h1v1h-1zM63 8h1v1h-1zM65 8h1v1h-1zM68 8h3v1h-3zM73 8h1v1h-1zM79 8h1v1h-1zM83 8h1v1h-1zM85 8h1v1h-1zM90 8h1v1h-1zM94 8h1v1h-1zM3 9h12v1h-12zM59 9h1v1h-1zM63 9h1v1h-1zM65 9h1v1h-1zM71 9h1v1h-1zM73 9h1v1h-1zM79 9h1v1h-1zM83 9h1v1h-1zM85 9h1v1h-1zM90 9h1v1h-1zM94 9h1v1h-1zM3 10h4v1h-4zM11 10h4v1h-4zM59 10h1v1h-1zM63 10h1v1h-1zM65 10h1v1h-1zM71 10h1v1h-1zM73 10h1v1h-1zM79 10h1v1h-1zM83 10h1v1h-1zM85 10h1v1h-1zM90 10h1v1h-1zM94 10h1v1h-1zM4 11h2v1h-2zM12 11h2v1h-2zM60 11h4v1h-4zM65 11h1v1h-1zM67 11h4v1h-4zM74 11h4v1h-4zM80 11h3v1h-3zM85 11h1v1h-1zM91 11h4v1h-4z"/></svg>\ No newline at end of filediff --git a/docs/media/discord-light.svg b/docs/media/discord-light.svgnew file mode 100644index 0000000..e20e95b--- /dev/null+++ b/docs/media/discord-light.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99 16" width="792" height="128" shape-rendering="crispEdges" role="img" aria-label="join the discord"><path fill="#F2ECE2" d="M1 0h97v16h-97zM0 1h99v14h-99z"/><path fill="#0E0C10" d="M4 3h3v1h-3zM11 3h3v1h-3zM3 4h12v1h-12zM63 4h1v1h-1zM65 4h1v1h-1zM94 4h1v1h-1zM3 5h12v1h-12zM63 5h1v1h-1zM94 5h1v1h-1zM3 6h3v1h-3zM8 6h2v1h-2zM12 6h3v1h-3zM60 6h4v1h-4zM65 6h1v1h-1zM68 6h4v1h-4zM74 6h4v1h-4zM80 6h3v1h-3zM85 6h1v1h-1zM87 6h2v1h-2zM91 6h4v1h-4zM3 7h3v1h-3zM8 7h2v1h-2zM12 7h3v1h-3zM59 7h1v1h-1zM63 7h1v1h-1zM65 7h1v1h-1zM67 7h1v1h-1zM73 7h1v1h-1zM79 7h1v1h-1zM83 7h1v1h-1zM85 7h2v1h-2zM90 7h1v1h-1zM94 7h1v1h-1zM3 8h12v1h-12zM59 8h1v1h-1zM63 8h1v1h-1zM65 8h1v1h-1zM68 8h3v1h-3zM73 8h1v1h-1zM79 8h1v1h-1zM83 8h1v1h-1zM85 8h1v1h-1zM90 8h1v1h-1zM94 8h1v1h-1zM3 9h12v1h-12zM59 9h1v1h-1zM63 9h1v1h-1zM65 9h1v1h-1zM71 9h1v1h-1zM73 9h1v1h-1zM79 9h1v1h-1zM83 9h1v1h-1zM85 9h1v1h-1zM90 9h1v1h-1zM94 9h1v1h-1zM3 10h4v1h-4zM11 10h4v1h-4zM59 10h1v1h-1zM63 10h1v1h-1zM65 10h1v1h-1zM71 10h1v1h-1zM73 10h1v1h-1zM79 10h1v1h-1zM83 10h1v1h-1zM85 10h1v1h-1zM90 10h1v1h-1zM94 10h1v1h-1zM4 11h2v1h-2zM12 11h2v1h-2zM60 11h4v1h-4zM65 11h1v1h-1zM67 11h4v1h-4zM74 11h4v1h-4zM80 11h3v1h-3zM85 11h1v1h-1zM91 11h4v1h-4z"/><path fill="#FF3CD2" d="M6 6h2v1h-2zM10 6h2v1h-2zM6 7h2v1h-2zM10 7h2v1h-2z"/><path fill="#5D5765" d="M20 4h1v1h-1zM28 4h1v1h-1zM44 4h1v1h-1zM40 5h1v1h-1zM44 5h1v1h-1zM20 6h1v1h-1zM23 6h3v1h-3zM28 6h1v1h-1zM30 6h4v1h-4zM39 6h4v1h-4zM44 6h4v1h-4zM51 6h3v1h-3zM20 7h1v1h-1zM22 7h1v1h-1zM26 7h1v1h-1zM28 7h1v1h-1zM30 7h1v1h-1zM34 7h1v1h-1zM40 7h1v1h-1zM44 7h1v1h-1zM48 7h1v1h-1zM50 7h1v1h-1zM54 7h1v1h-1zM20 8h1v1h-1zM22 8h1v1h-1zM26 8h1v1h-1zM28 8h1v1h-1zM30 8h1v1h-1zM34 8h1v1h-1zM40 8h1v1h-1zM44 8h1v1h-1zM48 8h1v1h-1zM50 8h5v1h-5zM20 9h1v1h-1zM22 9h1v1h-1zM26 9h1v1h-1zM28 9h1v1h-1zM30 9h1v1h-1zM34 9h1v1h-1zM40 9h1v1h-1zM44 9h1v1h-1zM48 9h1v1h-1zM50 9h1v1h-1zM20 10h1v1h-1zM22 10h1v1h-1zM26 10h1v1h-1zM28 10h1v1h-1zM30 10h1v1h-1zM34 10h1v1h-1zM40 10h1v1h-1zM44 10h1v1h-1zM48 10h1v1h-1zM50 10h1v1h-1zM20 11h1v1h-1zM23 11h3v1h-3zM28 11h1v1h-1zM30 11h1v1h-1zM34 11h1v1h-1zM41 11h2v1h-2zM44 11h1v1h-1zM48 11h1v1h-1zM51 11h4v1h-4zM18 12h2v1h-2z"/><path fill="#0E0C10" d="M4 3h3v1h-3zM11 3h3v1h-3zM3 4h12v1h-12zM63 4h1v1h-1zM65 4h1v1h-1zM94 4h1v1h-1zM3 5h12v1h-12zM63 5h1v1h-1zM94 5h1v1h-1zM3 6h3v1h-3zM8 6h2v1h-2zM12 6h3v1h-3zM60 6h4v1h-4zM65 6h1v1h-1zM68 6h4v1h-4zM74 6h4v1h-4zM80 6h3v1h-3zM85 6h1v1h-1zM87 6h2v1h-2zM91 6h4v1h-4zM3 7h3v1h-3zM8 7h2v1h-2zM12 7h3v1h-3zM59 7h1v1h-1zM63 7h1v1h-1zM65 7h1v1h-1zM67 7h1v1h-1zM73 7h1v1h-1zM79 7h1v1h-1zM83 7h1v1h-1zM85 7h2v1h-2zM90 7h1v1h-1zM94 7h1v1h-1zM3 8h12v1h-12zM59 8h1v1h-1zM63 8h1v1h-1zM65 8h1v1h-1zM68 8h3v1h-3zM73 8h1v1h-1zM79 8h1v1h-1zM83 8h1v1h-1zM85 8h1v1h-1zM90 8h1v1h-1zM94 8h1v1h-1zM3 9h12v1h-12zM59 9h1v1h-1zM63 9h1v1h-1zM65 9h1v1h-1zM71 9h1v1h-1zM73 9h1v1h-1zM79 9h1v1h-1zM83 9h1v1h-1zM85 9h1v1h-1zM90 9h1v1h-1zM94 9h1v1h-1zM3 10h4v1h-4zM11 10h4v1h-4zM59 10h1v1h-1zM63 10h1v1h-1zM65 10h1v1h-1zM71 10h1v1h-1zM73 10h1v1h-1zM79 10h1v1h-1zM83 10h1v1h-1zM85 10h1v1h-1zM90 10h1v1h-1zM94 10h1v1h-1zM4 11h2v1h-2zM12 11h2v1h-2zM60 11h4v1h-4zM65 11h1v1h-1zM67 11h4v1h-4zM74 11h4v1h-4zM80 11h3v1h-3zM85 11h1v1h-1zM91 11h4v1h-4z"/></svg>\ No newline at end of filediff --git a/docs/media/teaser.gif b/docs/media/teaser.gifnew file mode 100644index 0000000..568d25fBinary files /dev/null and b/docs/media/teaser.gif differdiff --git a/public/app.js b/public/app.jsindex 8090a70..0f3e7eb 100644--- a/public/app.js+++ b/public/app.js@@ -16,7 +16,7 @@ const CHARACTERS = {michelle: { name: 'Michelle', url: THREE_MODELS + 'Michelle.glb' },soldier: { name: 'Soldier', url: THREE_MODELS + 'Soldier.glb' },};-const VIDEO_MODEL_LABEL = { h3: 'H3 Max Turbo', flux3: 'FLUX 3 Max' };+const VIDEO_MODEL_LABEL = { h3: 'h3 max turbo', flux3: 'flux 3 max' };const MP_WASM = 'https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/wasm';const MP_MODEL = (v) => `https://storage.googleapis.com/mediapipe-models/pose_landmarker/pose_landmarker_${v}/float16/latest/pose_landmarker_${v}.task`;@@ -124,7 +124,7 @@ async function loadModel(src, name) {}async function loadCharacter(src, name = 'X Bot') {- pill('rig', 'loading ' + name, 'busy');+ pill('rig', 'loading ' + name.toLowerCase(), 'busy');const root = await loadModel(src, name);root.name = 'Character';const newRig = new Rig(root);@@ -134,7 +134,7 @@ async function loadCharacter(src, name = 'X Bot') {for (const t of takes) { t.live = new Track(rig.order.length); t.liveDone = false; if (t.hqRaw) t.hq = bakeSmpl(t.hqRaw); }liveState ||= { hip0: null, baseY: null, mpp: null, scale: null };liveSnap = null; switchFrom = null;- pill('rig', name, 'ok');+ pill('rig', name.toLowerCase(), 'ok');log(`character: ${name} (${rig.order.length} bones, ${rig.height.toFixed(2)} m)`);resetCast();}@@ -172,7 +172,7 @@ function showOnStage(key) {stage.removeContactShadow(model);if (key) { cast[key].model.visible = true; stage.contactShadow(cast[key].model); }else stage.contactShadow(model);- pill('rig', key ? CHARACTERS[key].name : (CHARACTERS[settings.character]?.name || 'character'), 'ok');+ pill('rig', (key ? CHARACTERS[key].name : (CHARACTERS[settings.character]?.name || 'character')).toLowerCase(), 'ok');}// ---- MediaPipe ---------------------------------------------------------------------@@ -211,16 +211,16 @@ function renderTakes() {for (const t of [...takes].reverse()) {const card = document.createElement('div');card.className = 'take' + (t === current ? ' playing' : '');- const gen = t.status === 'generating' ? '<span class="pill busy"><span class="spin"></span> generating</span>'+ const gen = t.status === 'generating' ? '<span class="pill busy">generating</span>': t.status === 'error' ? '<span class="pill bad">failed</span>': t.status === 'skipped' ? '<span class="pill">skipped</span>'- : `<span class="pill">${t.timings.gen?.toFixed(1)}s gen</span>`;- const live = t.liveDone ? '<span class="pill ok">live ✓</span>' : '';- const hq = { running: '<span class="pill busy"><span class="spin"></span> HQ</span>', done: `<span class="pill ok">HQ ✓ ${t.timings.hq?.toFixed(1)}s</span>`, error: '<span class="pill bad">HQ ✗</span>' }[t.hqStatus] || '';+ : t.timings.gen ? `<span class="pill">${t.timings.gen.toFixed(1)}s gen</span>` : '';+ const live = t.liveDone ? '<span class="pill">live</span>' : '';+ const hq = { running: '<span class="pill busy">hq</span>', done: `<span class="pill ok">hq ${t.timings.hq?.toFixed(1)}s</span>`, error: '<span class="pill bad">hq failed</span>' }[t.hqStatus] || '';card.innerHTML = `<div class="p" title="${escapeHtml(t.prompt)}">#${t.id} · ${t.auto ? '<i style="color:var(--dim)">idle</i> · ' : ''}${escapeHtml(t.prompt)}</div><div class="meta">${gen}${live}${hq}</div>- <div class="actions"><button class="btn" data-a="play" ${t.videoUrl ? '' : 'disabled'}>▶ Play</button>- <button class="btn" data-a="glb" ${t.best ? '' : 'disabled'}>⬇ GLB</button></div>`;+ <div class="actions"><button class="btn" data-a="play" ${t.videoUrl ? '' : 'disabled'}>▶ play</button>+ <button class="btn" data-a="glb" ${t.best ? '' : 'disabled'}>↓ glb</button></div>`;card.querySelector('[data-a=play]').onclick = () => playTake(t);card.querySelector('[data-a=glb]').onclick = () => exportTake(t);el.appendChild(card);@@ -266,7 +266,7 @@ function maybeIdle() {async function ensurePerformer(force = false) {const o = settings.orientation;if (settings.performerUrls[o] && !force) return settings.performerUrls[o];- banner('Creating performer…');+ banner('creating performer…');const t0 = performance.now();const r = await api('/api/image', { prompt: PERFORMER_PROMPT, image_size: o === 'portrait' ? 'portrait_16_9' : 'landscape_16_9' });settings.performerUrls[o] = r.image_url; save();@@ -285,7 +285,7 @@ async function generate(take) {} else if (settings.source === 'performer') {image_url = await ensurePerformer(); from = 'performer';}- banner(`Generating #${take.id}…`);+ banner(`generating #${take.id}…`);log(`#${take.id} → ${VIDEO_MODEL_LABEL[settings.videoModel]} (${from}, ${settings.duration}s ${settings.resolution})`);const r = await api('/api/video', {prompt: videoPrompt(take.prompt, !!image_url), image_url,@@ -293,7 +293,7 @@ async function generate(take) {});take.videoUrl = r.video_url; take.status = 'ready';take.timings.gen = (performance.now() - t0) / 1000;- log(`#${take.id} video in ${take.timings.gen.toFixed(1)}s (GPU ${r.timings?.inference?.toFixed(2) ?? '?'}s)`, 'ok');+ log(`#${take.id} video in ${take.timings.gen.toFixed(1)}s (gpu ${r.timings?.inference?.toFixed(2) ?? '?'}s)`, 'ok');take.prevGenerated = lastGenerated;lastGenerated = take;// Grab the final frame now (in parallel with HQ) so the next chained clip can start immediately.@@ -305,7 +305,7 @@ async function generate(take) {// Normally play only once HQ is ready; if the player starves meanwhile, startStarved()// plays it early with the live preview and HQ cross-fades in when it lands.take.awaitingHq = true;- if (!current) banner(`#${take.id}: waiting for HQ motion…`);+ if (!current) banner(`#${take.id}: waiting for hq motion…`);take.hqPromise.finally(() => {banner('');if (take.awaitingHq && take.status !== 'skipped') { take.awaitingHq = false; enqueue(take); }@@ -333,8 +333,8 @@ async function lastFrameDataUrl(url) {// ---- HQ (GVHMR) --------------------------------------------------------------------------let hqOnline = false;async function checkHQ() {- try { const r = await api('/api/hq/health'); hqOnline = !!r.ok; pill('hq', r.ok ? `HQ: ${r.device || 'ready'}` : 'HQ: ' + (r.error || 'not ready'), r.ok ? 'ok' : 'bad'); }- catch { hqOnline = false; pill('hq', 'HQ worker offline', 'bad'); }+ try { const r = await api('/api/hq/health'); hqOnline = !!r.ok; pill('hq', r.ok ? `hq · ${(r.device || 'ready').replace(/^NVIDIA GeForce /, '').toLowerCase()}` : 'hq · ' + (r.error || 'not ready'), r.ok ? 'ok' : 'bad'); }+ catch { hqOnline = false; pill('hq', 'hq worker offline', 'bad'); }}function runHQ(take) {@@ -344,9 +344,9 @@ function runHQ(take) {.then((r) => {take.hqRaw = r; take.hq = bakeSmpl(r); take.hqAt = performance.now();take.hqStatus = 'done'; take.timings.hq = (performance.now() - t0) / 1000;- log(`#${take.id} HQ motion in ${take.timings.hq.toFixed(1)}s (${r.n} frames, worker ${r.elapsed?.toFixed(1)}s)`, 'hq');+ log(`#${take.id} hq motion in ${take.timings.hq.toFixed(1)}s (${r.n} frames, worker ${r.elapsed?.toFixed(1)}s)`, 'hq');})- .catch((e) => { take.hqStatus = 'error'; log(`#${take.id} HQ failed: ${e.message}`, 'err'); })+ .catch((e) => { take.hqStatus = 'error'; log(`#${take.id} hq failed: ${e.message}`, 'err'); }).finally(renderTakes);}@@ -433,7 +433,7 @@ function startStarved() {const next = takes.find((t) => t.awaitingHq && t.status === 'ready' && !t.started);if (!next) return false;next.awaitingHq = false;- log(`#${next.id} starting on live preview (HQ still running)`);+ log(`#${next.id} starting on live preview (hq still running)`);enqueue(next);return true;}@@ -579,10 +579,10 @@ function tick() {const t = video.currentTime;const live = current.liveDone ? current.live.sample(t, bufA) : liveSnap;const hq = current.hq ? current.hq.sample(t, bufB) : null;- let snap = hq || live, src = hq ? 'HQ · GVHMR' : live ? 'LIVE · MediaPipe' : '—';+ let snap = hq || live, src = hq ? 'hq · gvhmr' : live ? 'live · mediapipe' : '—';if (hq && live) {const w = Math.min(1, (performance.now() - current.hqAt) / 600);- if (w < 1) { snap = blendSnapshots(live.q, live.p, hq.q, hq.p, w, bufC); src = 'LIVE → HQ'; }+ if (w < 1) { snap = blendSnapshots(live.q, live.p, hq.q, hq.p, w, bufC); src = 'live → hq'; }}if (snap && switchFrom) {const w = Math.min(1, (performance.now() - switchAt) / 250);@@ -775,4 +775,4 @@ const startChar = CHARACTERS[settings.character] || CHARACTERS.xbot;loadCharacter(startChar.url, startChar.name).catch((e) => { log('character failed: ' + e.message, 'err'); pill('rig', 'character failed', 'bad'); });initPose(settings.poseModel).catch((e) => { log('pose model failed: ' + e.message, 'err'); pill('pose', 'pose failed', 'bad'); });checkHQ(); setInterval(checkHQ, 10000);-log('ready — type a motion and hit Generate');+log('ready. type a motion and hit generate');diff --git a/public/brand/badge.svg b/public/brand/badge.svgnew file mode 100644index 0000000..3b8240e--- /dev/null+++ b/public/brand/badge.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 157 16" width="1256" height="128" shape-rendering="crispEdges" role="img" aria-label="made with universal-modder"><path fill="#0E0C10" d="M1 0h155v16h-155zM0 1h157v14h-157z"/><path fill="#000000" d="M3 4h8v8h-8z"/><path fill="#FF3CD2" d="M4 5h2v2h-2zM6 7h2v2h-2zM4 9h2v2h-2zM8 9h2v2h-2zM112 8h1v1h-1zM114 8h1v1h-1zM113 9h1v1h-1zM115 9h1v1h-1z"/><path fill="#8E8796" d="M14 6h3v1h-3zM18 6h2v1h-2zM14 7h1v5h-1zM17 7h1v5h-1zM20 7h1v5h-1zM22 6h4v1h-4zM26 7h1v1h-1zM23 8h4v1h-4zM22 9h1v2h-1zM26 9h1v2h-1zM23 11h4v1h-4zM32 4h1v2h-1zM29 6h4v1h-4zM28 7h1v4h-1zM32 7h1v4h-1zM29 11h4v1h-4zM35 6h3v1h-3zM34 7h1v1h-1zM38 7h1v1h-1zM34 8h5v1h-5zM34 9h1v2h-1zM35 11h4v1h-4zM43 6h1v5h-1zM46 6h1v5h-1zM49 6h1v5h-1zM44 11h2v1h-2zM47 11h2v1h-2zM51 4h1v1h-1zM51 6h1v6h-1zM54 5h1v1h-1zM53 6h4v1h-4zM54 7h1v4h-1zM55 11h2v1h-2zM58 4h1v2h-1zM58 6h4v1h-4zM58 7h1v5h-1zM62 7h1v5h-1z"/><path fill="#F2ECE2" d="M3 4h7v1h-7zM3 5h1v6h-1zM10 5h1v6h-1zM3 11h8v1h-8zM67 6h1v5h-1zM71 6h1v5h-1zM68 11h4v1h-4zM73 6h4v1h-4zM73 7h1v5h-1zM77 7h1v5h-1zM79 4h1v1h-1zM79 6h1v6h-1zM81 6h1v3h-1zM85 6h1v3h-1zM82 9h1v2h-1zM84 9h1v2h-1zM83 11h1v1h-1zM88 6h3v1h-3zM87 7h1v1h-1zM91 7h1v1h-1zM87 8h5v1h-5zM87 9h1v2h-1zM88 11h4v1h-4zM93 6h1v1h-1zM95 6h2v1h-2zM93 7h2v1h-2zM93 8h1v4h-1zM99 6h4v1h-4zM98 7h1v1h-1zM99 8h3v1h-3zM102 9h1v2h-1zM98 11h4v1h-4zM104 6h4v1h-4zM108 7h1v1h-1zM105 8h4v1h-4zM104 9h1v2h-1zM108 9h1v2h-1zM105 11h4v1h-4zM110 4h1v8h-1zM117 6h3v1h-3zM121 6h2v1h-2zM117 7h1v5h-1zM120 7h1v5h-1zM123 7h1v5h-1zM126 6h3v1h-3zM125 7h1v4h-1zM129 7h1v4h-1zM126 11h3v1h-3zM135 4h1v2h-1zM132 6h4v1h-4zM131 7h1v4h-1zM135 7h1v4h-1zM132 11h4v1h-4zM141 4h1v2h-1zM138 6h4v1h-4zM137 7h1v4h-1zM141 7h1v4h-1zM138 11h4v1h-4zM144 6h3v1h-3zM143 7h1v1h-1zM147 7h1v1h-1zM143 8h5v1h-5zM143 9h1v2h-1zM144 11h4v1h-4zM149 6h1v1h-1zM151 6h2v1h-2zM149 7h2v1h-2zM149 8h1v4h-1z"/><path fill="#FF3CD2" d="M10 3h2v2h-2z"/></svg>diff --git a/public/brand/discord.svg b/public/brand/discord.svgnew file mode 100644index 0000000..6e20c1a--- /dev/null+++ b/public/brand/discord.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99 16" width="792" height="128" shape-rendering="crispEdges" role="img" aria-label="join the discord"><path fill="#0E0C10" d="M1 0h97v16h-97zM0 1h99v14h-99z"/><path fill="#F2ECE2" d="M4 3h3v1h-3zM11 3h3v1h-3zM3 4h12v1h-12zM63 4h1v1h-1zM65 4h1v1h-1zM94 4h1v1h-1zM3 5h12v1h-12zM63 5h1v1h-1zM94 5h1v1h-1zM3 6h3v1h-3zM8 6h2v1h-2zM12 6h3v1h-3zM60 6h4v1h-4zM65 6h1v1h-1zM68 6h4v1h-4zM74 6h4v1h-4zM80 6h3v1h-3zM85 6h1v1h-1zM87 6h2v1h-2zM91 6h4v1h-4zM3 7h3v1h-3zM8 7h2v1h-2zM12 7h3v1h-3zM59 7h1v1h-1zM63 7h1v1h-1zM65 7h1v1h-1zM67 7h1v1h-1zM73 7h1v1h-1zM79 7h1v1h-1zM83 7h1v1h-1zM85 7h2v1h-2zM90 7h1v1h-1zM94 7h1v1h-1zM3 8h12v1h-12zM59 8h1v1h-1zM63 8h1v1h-1zM65 8h1v1h-1zM68 8h3v1h-3zM73 8h1v1h-1zM79 8h1v1h-1zM83 8h1v1h-1zM85 8h1v1h-1zM90 8h1v1h-1zM94 8h1v1h-1zM3 9h12v1h-12zM59 9h1v1h-1zM63 9h1v1h-1zM65 9h1v1h-1zM71 9h1v1h-1zM73 9h1v1h-1zM79 9h1v1h-1zM83 9h1v1h-1zM85 9h1v1h-1zM90 9h1v1h-1zM94 9h1v1h-1zM3 10h4v1h-4zM11 10h4v1h-4zM59 10h1v1h-1zM63 10h1v1h-1zM65 10h1v1h-1zM71 10h1v1h-1zM73 10h1v1h-1zM79 10h1v1h-1zM83 10h1v1h-1zM85 10h1v1h-1zM90 10h1v1h-1zM94 10h1v1h-1zM4 11h2v1h-2zM12 11h2v1h-2zM60 11h4v1h-4zM65 11h1v1h-1zM67 11h4v1h-4zM74 11h4v1h-4zM80 11h3v1h-3zM85 11h1v1h-1zM91 11h4v1h-4z"/><path fill="#FF3CD2" d="M6 6h2v1h-2zM10 6h2v1h-2zM6 7h2v1h-2zM10 7h2v1h-2z"/><path fill="#8E8796" d="M20 4h1v1h-1zM28 4h1v1h-1zM44 4h1v1h-1zM40 5h1v1h-1zM44 5h1v1h-1zM20 6h1v1h-1zM23 6h3v1h-3zM28 6h1v1h-1zM30 6h4v1h-4zM39 6h4v1h-4zM44 6h4v1h-4zM51 6h3v1h-3zM20 7h1v1h-1zM22 7h1v1h-1zM26 7h1v1h-1zM28 7h1v1h-1zM30 7h1v1h-1zM34 7h1v1h-1zM40 7h1v1h-1zM44 7h1v1h-1zM48 7h1v1h-1zM50 7h1v1h-1zM54 7h1v1h-1zM20 8h1v1h-1zM22 8h1v1h-1zM26 8h1v1h-1zM28 8h1v1h-1zM30 8h1v1h-1zM34 8h1v1h-1zM40 8h1v1h-1zM44 8h1v1h-1zM48 8h1v1h-1zM50 8h5v1h-5zM20 9h1v1h-1zM22 9h1v1h-1zM26 9h1v1h-1zM28 9h1v1h-1zM30 9h1v1h-1zM34 9h1v1h-1zM40 9h1v1h-1zM44 9h1v1h-1zM48 9h1v1h-1zM50 9h1v1h-1zM20 10h1v1h-1zM22 10h1v1h-1zM26 10h1v1h-1zM28 10h1v1h-1zM30 10h1v1h-1zM34 10h1v1h-1zM40 10h1v1h-1zM44 10h1v1h-1zM48 10h1v1h-1zM50 10h1v1h-1zM20 11h1v1h-1zM23 11h3v1h-3zM28 11h1v1h-1zM30 11h1v1h-1zM34 11h1v1h-1zM41 11h2v1h-2zM44 11h1v1h-1zM48 11h1v1h-1zM51 11h4v1h-4zM18 12h2v1h-2z"/><path fill="#F2ECE2" d="M4 3h3v1h-3zM11 3h3v1h-3zM3 4h12v1h-12zM63 4h1v1h-1zM65 4h1v1h-1zM94 4h1v1h-1zM3 5h12v1h-12zM63 5h1v1h-1zM94 5h1v1h-1zM3 6h3v1h-3zM8 6h2v1h-2zM12 6h3v1h-3zM60 6h4v1h-4zM65 6h1v1h-1zM68 6h4v1h-4zM74 6h4v1h-4zM80 6h3v1h-3zM85 6h1v1h-1zM87 6h2v1h-2zM91 6h4v1h-4zM3 7h3v1h-3zM8 7h2v1h-2zM12 7h3v1h-3zM59 7h1v1h-1zM63 7h1v1h-1zM65 7h1v1h-1zM67 7h1v1h-1zM73 7h1v1h-1zM79 7h1v1h-1zM83 7h1v1h-1zM85 7h2v1h-2zM90 7h1v1h-1zM94 7h1v1h-1zM3 8h12v1h-12zM59 8h1v1h-1zM63 8h1v1h-1zM65 8h1v1h-1zM68 8h3v1h-3zM73 8h1v1h-1zM79 8h1v1h-1zM83 8h1v1h-1zM85 8h1v1h-1zM90 8h1v1h-1zM94 8h1v1h-1zM3 9h12v1h-12zM59 9h1v1h-1zM63 9h1v1h-1zM65 9h1v1h-1zM71 9h1v1h-1zM73 9h1v1h-1zM79 9h1v1h-1zM83 9h1v1h-1zM85 9h1v1h-1zM90 9h1v1h-1zM94 9h1v1h-1zM3 10h4v1h-4zM11 10h4v1h-4zM59 10h1v1h-1zM63 10h1v1h-1zM65 10h1v1h-1zM71 10h1v1h-1zM73 10h1v1h-1zM79 10h1v1h-1zM83 10h1v1h-1zM85 10h1v1h-1zM90 10h1v1h-1zM94 10h1v1h-1zM4 11h2v1h-2zM12 11h2v1h-2zM60 11h4v1h-4zM65 11h1v1h-1zM67 11h4v1h-4zM74 11h4v1h-4zM80 11h3v1h-3zM85 11h1v1h-1zM91 11h4v1h-4z"/></svg>\ No newline at end of filediff --git a/public/brand/fonts/GeistPixel.woff2 b/public/brand/fonts/GeistPixel.woff2new file mode 100644index 0000000..59d328cBinary files /dev/null and b/public/brand/fonts/GeistPixel.woff2 differdiff --git a/public/brand/fonts/InstrumentSans.woff2 b/public/brand/fonts/InstrumentSans.woff2new file mode 100644index 0000000..fa87d1eBinary files /dev/null and b/public/brand/fonts/InstrumentSans.woff2 differdiff --git a/public/brand/fonts/OFL-GeistPixel.txt b/public/brand/fonts/OFL-GeistPixel.txtnew file mode 100644index 0000000..999fa23--- /dev/null+++ b/public/brand/fonts/OFL-GeistPixel.txt@@ -0,0 +1,93 @@+Copyright 2026 The Geist Project Authors (https://github.com/vercel/geist-font)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+https://openfontlicense.org+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/public/brand/fonts/OFL-InstrumentSans.txt b/public/brand/fonts/OFL-InstrumentSans.txtnew file mode 100644index 0000000..26bd2f9--- /dev/null+++ b/public/brand/fonts/OFL-InstrumentSans.txt@@ -0,0 +1,93 @@+Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+https://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/public/brand/fonts/OFL-SometypeMono.txt b/public/brand/fonts/OFL-SometypeMono.txtnew file mode 100644index 0000000..afe4278--- /dev/null+++ b/public/brand/fonts/OFL-SometypeMono.txt@@ -0,0 +1,93 @@+Copyright 2018 The Sometype Mono Project Authors (https://github.com/googlefonts/sometype-mono)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+https://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/public/brand/fonts/SometypeMono.woff2 b/public/brand/fonts/SometypeMono.woff2new file mode 100644index 0000000..b35ecbbBinary files /dev/null and b/public/brand/fonts/SometypeMono.woff2 differdiff --git a/public/brand/logo.svg b/public/brand/logo.svgnew file mode 100644index 0000000..0a8a53e--- /dev/null+++ b/public/brand/logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 9" width="784" height="72" shape-rendering="crispEdges" role="img" aria-label="universal-modder"><path fill="#000000" d="M0 1h8v8h-8z"/><path fill="#FF3CD2" d="M1 2h2v2h-2zM3 4h2v2h-2zM1 6h2v2h-2zM5 6h2v2h-2zM57 5h1v1h-1zM59 5h1v1h-1zM58 6h1v1h-1zM60 6h1v1h-1z"/><path fill="#F2ECE2" d="M0 1h7v1h-7zM0 2h1v6h-1zM7 2h1v6h-1zM0 8h8v1h-8zM12 3h1v5h-1zM16 3h1v5h-1zM13 8h4v1h-4zM18 3h4v1h-4zM18 4h1v5h-1zM22 4h1v5h-1zM24 1h1v1h-1zM24 3h1v6h-1zM26 3h1v3h-1zM30 3h1v3h-1zM27 6h1v2h-1zM29 6h1v2h-1zM28 8h1v1h-1zM33 3h3v1h-3zM32 4h1v1h-1zM36 4h1v1h-1zM32 5h5v1h-5zM32 6h1v2h-1zM33 8h4v1h-4zM38 3h1v1h-1zM40 3h2v1h-2zM38 4h2v1h-2zM38 5h1v4h-1zM44 3h4v1h-4zM43 4h1v1h-1zM44 5h3v1h-3zM47 6h1v2h-1zM43 8h4v1h-4zM49 3h4v1h-4zM53 4h1v1h-1zM50 5h4v1h-4zM49 6h1v2h-1zM53 6h1v2h-1zM50 8h4v1h-4zM55 1h1v8h-1zM62 3h3v1h-3zM66 3h2v1h-2zM62 4h1v5h-1zM65 4h1v5h-1zM68 4h1v5h-1zM71 3h3v1h-3zM70 4h1v4h-1zM74 4h1v4h-1zM71 8h3v1h-3zM80 1h1v2h-1zM77 3h4v1h-4zM76 4h1v4h-1zM80 4h1v4h-1zM77 8h4v1h-4zM86 1h1v2h-1zM83 3h4v1h-4zM82 4h1v4h-1zM86 4h1v4h-1zM83 8h4v1h-4zM89 3h3v1h-3zM88 4h1v1h-1zM92 4h1v1h-1zM88 5h5v1h-5zM88 6h1v2h-1zM89 8h4v1h-4zM94 3h1v1h-1zM96 3h2v1h-2zM94 4h2v1h-2zM94 5h1v4h-1z"/><path fill="#FF3CD2" d="M7 0h2v2h-2z"/></svg>diff --git a/public/brand/mark.svg b/public/brand/mark.svgnew file mode 100644index 0000000..25b6686--- /dev/null+++ b/public/brand/mark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" width="72" height="72" shape-rendering="crispEdges" role="img" aria-label="the universal-modder mark"><path fill="#000000" d="M0 1h8v8h-8z"/><path fill="#FF3CD2" d="M1 2h2v2h-2zM3 4h2v2h-2zM1 6h2v2h-2zM5 6h2v2h-2z"/><path fill="#F2ECE2" d="M0 1h7v1h-7zM0 2h1v6h-1zM7 2h1v6h-1zM0 8h8v1h-8z"/><path fill="#FF3CD2" d="M7 0h2v2h-2z"/></svg>diff --git a/public/brand/wordmark.svg b/public/brand/wordmark.svgnew file mode 100644index 0000000..251e23c--- /dev/null+++ b/public/brand/wordmark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 86 8" width="688" height="64" shape-rendering="crispEdges" role="img" aria-label="universal-modder"><path fill="#000000" d="M46 4h1v1h-1zM48 4h1v1h-1zM45 5h1v1h-1zM47 5h1v1h-1z"/><path fill="#FF3CD2" d="M45 4h1v1h-1zM47 4h1v1h-1zM46 5h1v1h-1zM48 5h1v1h-1z"/><path fill="#F2ECE2" d="M0 2h1v5h-1zM4 2h1v5h-1zM1 7h4v1h-4zM6 2h4v1h-4zM6 3h1v5h-1zM10 3h1v5h-1zM12 0h1v1h-1zM12 2h1v6h-1zM14 2h1v3h-1zM18 2h1v3h-1zM15 5h1v2h-1zM17 5h1v2h-1zM16 7h1v1h-1zM21 2h3v1h-3zM20 3h1v1h-1zM24 3h1v1h-1zM20 4h5v1h-5zM20 5h1v2h-1zM21 7h4v1h-4zM26 2h1v1h-1zM28 2h2v1h-2zM26 3h2v1h-2zM26 4h1v4h-1zM32 2h4v1h-4zM31 3h1v1h-1zM32 4h3v1h-3zM35 5h1v2h-1zM31 7h4v1h-4zM37 2h4v1h-4zM41 3h1v1h-1zM38 4h4v1h-4zM37 5h1v2h-1zM41 5h1v2h-1zM38 7h4v1h-4zM43 0h1v8h-1zM50 2h3v1h-3zM54 2h2v1h-2zM50 3h1v5h-1zM53 3h1v5h-1zM56 3h1v5h-1zM59 2h3v1h-3zM58 3h1v4h-1zM62 3h1v4h-1zM59 7h3v1h-3zM68 0h1v2h-1zM65 2h4v1h-4zM64 3h1v4h-1zM68 3h1v4h-1zM65 7h4v1h-4zM74 0h1v2h-1zM71 2h4v1h-4zM70 3h1v4h-1zM74 3h1v4h-1zM71 7h4v1h-4zM77 2h3v1h-3zM76 3h1v1h-1zM80 3h1v1h-1zM76 4h5v1h-5zM76 5h1v2h-1zM77 7h4v1h-4zM82 2h1v1h-1zM84 2h2v1h-2zM82 3h2v1h-2zM82 4h1v4h-1z"/></svg>diff --git a/public/index.html b/public/index.htmlindex f6f0920..a515ab8 100644--- a/public/index.html+++ b/public/index.html@@ -3,7 +3,8 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />-<title>Prompt2Rig</title>+<title>prompt2rig · universal-modder</title>+<link rel="icon" type="image/svg+xml" href="./brand/mark.svg" /><script type="importmap">{"imports": {@@ -14,159 +15,234 @@}</script><style>+ /* universal-modder brand: Geist Pixel titles, Instrument Sans text, Sometype Mono labels (all OFL, see brand/fonts) */+ @font-face { font-family: "Geist Pixel"; src: url(./brand/fonts/GeistPixel.woff2) format("woff2"); font-display: block; }+ @font-face { font-family: "Instrument Sans"; src: url(./brand/fonts/InstrumentSans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }+ @font-face { font-family: "Sometype Mono"; src: url(./brand/fonts/SometypeMono.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }+:root {- --bg: #0e0f11; --panel: #16181b; --panel2: #1d2024; --line: #2a2e33; --text: #e7e9ec; --dim: #8b929b;- --accent: #7cf29a; --accent2: #5ab8ff; --warn: #ffb454; --err: #ff6b6b;+ color-scheme: dark;+ /* brand palette (umv/brand.py) */+ --void: #0e0c10; --coal: #1c1920; --coal2: #25212a; --coal3: #302b36; --rule: #2b2630;+ --ash: #8e8796; --ash2: #5d5765; --bone: #f2ece2; --bone2: #e4dccd;+ --missing: #ff3cd2; --missing-dim: #4a1342; --gold: #ffc94a; --gold-dim: #4a3a16; --err: #ff6b6b;+ --pixel: "Geist Pixel", "Sometype Mono", monospace;+ --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;+ --mono: "Sometype Mono", ui-monospace, Consolas, monospace;+ /* the brand's notched pixel corner (like the badge and discord button) */+ --notch: polygon(3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px), 0 3px, 3px 3px);}* { box-sizing: border-box; }- :root { color-scheme: dark; }- /* Thin dark scrollbars that match the panels */- * { scrollbar-width: thin; scrollbar-color: #3a3f46 transparent; }+ * { scrollbar-width: thin; scrollbar-color: var(--coal3) transparent; }::-webkit-scrollbar { width: 8px; height: 8px; }::-webkit-scrollbar-track { background: transparent; }- ::-webkit-scrollbar-thumb { background: #3a3f46; border-radius: 8px; border: 2px solid var(--panel); }- ::-webkit-scrollbar-thumb:hover { background: #4b525b; }- html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }+ ::-webkit-scrollbar-thumb { background: var(--coal3); border: 2px solid var(--coal); }+ ::-webkit-scrollbar-thumb:hover { background: var(--ash2); }+ ::selection { background: var(--missing); color: var(--void); }+ html, body { margin: 0; height: 100%; background: var(--void); color: var(--bone); font: 13px/1.45 var(--sans); }button, input, select, textarea { font: inherit; color: inherit; }+ a { color: inherit; }+.app { display: grid; grid-template-columns: 340px 1fr; grid-template-rows: 1fr 132px; height: 100vh; }- aside { grid-row: 1 / 3; background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 14px; }- h1 { font-size: 15px; margin: 0; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; }- h1 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }+ aside { grid-row: 1 / 3; background: var(--coal); border-right: 1px solid var(--rule); overflow-y: auto; padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 16px; }++ /* header: mark + name in Geist Pixel, a quiet "by universal-modder" */+ .brand { display: flex; align-items: center; gap: 10px; }+ .brand img { width: 30px; height: 30px; image-rendering: pixelated; }+ .brand h1 { margin: 0; font: 26px/1 var(--pixel); letter-spacing: .5px; font-feature-settings: "liga" 0, "calt" 0; }+ .brand h1 .dot { color: var(--missing); }+ .brand .by { display: block; margin-top: 4px; font: 10.5px/1 var(--mono); color: var(--ash); text-decoration: none; letter-spacing: .3px; }+ .brand .by:hover { color: var(--bone); }+.pills { display: flex; flex-wrap: wrap; gap: 6px; }- .pill { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); color: var(--dim); }- .pill.ok { color: var(--accent); border-color: #2f5b3b; } .pill.bad { color: var(--err); border-color: #5b2f2f; } .pill.busy { color: var(--warn); border-color: #5b4a2f; }- textarea { width: 100%; min-height: 74px; resize: vertical; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 10px; outline: none; }- textarea:focus { border-color: var(--accent2); }- .go { width: 100%; padding: 10px; border: 0; border-radius: 8px; background: var(--accent); color: #07140b; font-weight: 650; cursor: pointer; }+ .pill { font: 10.5px/1 var(--mono); padding: 4px 7px; background: var(--coal2); color: var(--ash); clip-path: var(--notch); display: inline-flex; align-items: center; gap: 5px; }+ .pill::before { content: ""; width: 5px; height: 5px; background: currentColor; }+ .pill.ok { color: var(--gold); background: #2a2418; } .pill.bad { color: var(--err); } .pill.busy { color: var(--missing); background: #2b1a29; }++ textarea { width: 100%; min-height: 76px; resize: vertical; background: var(--void); border: 1px solid var(--rule); padding: 10px; outline: none; font: 13px/1.45 var(--sans); }+ textarea:focus { border-color: var(--missing); }+ .go { width: 100%; padding: 11px; border: 0; background: var(--bone); color: var(--void); font: 15px/1 var(--pixel); letter-spacing: .5px; cursor: pointer; clip-path: var(--notch); display: flex; justify-content: center; gap: 10px; align-items: baseline; }+ .go small { font: 10.5px var(--mono); opacity: .65; letter-spacing: 0; }+ .go:hover { background: var(--missing); }+ .go:active { transform: translateY(1px); }.go:disabled { opacity: .5; cursor: default; }.chips { display: flex; flex-wrap: wrap; gap: 6px; }- .chip { font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); cursor: pointer; }- .chip:hover { border-color: var(--accent2); }- .section { display: flex; flex-direction: column; gap: 8px; }- .section > label.title { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--dim); }+ .chip { font-size: 11.5px; line-height: 1.3; padding: 5px 9px; background: var(--coal2); color: var(--bone2); cursor: pointer; clip-path: var(--notch); }+ .chip:hover { background: var(--coal3); color: var(--bone); }++ .section { display: flex; flex-direction: column; gap: 9px; }+ .section > label.title { font: 10.5px/1 var(--mono); letter-spacing: .6px; color: var(--ash); display: flex; align-items: center; gap: 8px; }+ .section > label.title::after { content: ""; flex: 1; height: 1px; background: var(--rule); }.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }- .row select, .row input[type=number] { background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }- .row input[type=range] { width: 130px; }- .check { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }- .check small { display: block; color: var(--dim); }+ .row b { font: 12px var(--mono); color: var(--missing); font-weight: 400; }+ select { background: var(--coal2); border: 0; padding: 5px 24px 5px 8px; clip-path: var(--notch); appearance: none; cursor: pointer;+ background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%);+ background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%; background-size: 4px 4px; background-repeat: no-repeat; }+ select:hover { background-color: var(--coal3); }+ option { background: var(--coal2); }++ /* pixel checkbox */+ .check { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }+ .check small { display: block; color: var(--ash); font-size: 11.5px; line-height: 1.35; margin-top: 1px; }+ .check input { appearance: none; flex: 0 0 13px; width: 13px; height: 13px; margin: 2px 0 0; background: var(--void); border: 1px solid var(--ash2); cursor: pointer; display: grid; place-items: center; }+ .check input::after { content: ""; width: 5px; height: 5px; background: var(--missing); transform: scale(0); }+ .check input:checked { border-color: var(--missing); }+ .check input:checked::after { transform: scale(1); }+ .check input:disabled { opacity: .5; }+ .check b { font-weight: 600; }++ /* pixel slider */+ input[type=range] { appearance: none; width: 130px; height: 14px; background: transparent; cursor: pointer; }+ input[type=range]::-webkit-slider-runnable-track { height: 3px; background: var(--coal3); }+ input[type=range]::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; margin-top: -3.5px; background: var(--bone); border: 0; }+ input[type=range]:hover::-webkit-slider-thumb { background: var(--missing); }+ input[type=range]::-moz-range-track { height: 3px; background: var(--coal3); }+ input[type=range]::-moz-range-thumb { width: 10px; height: 10px; background: var(--bone); border: 0; border-radius: 0; }+.performer { display: flex; gap: 10px; align-items: center; }- .performer img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--panel2); }+ .performer img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--rule); background: var(--coal2); }.performer img.portrait { width: 62px; aspect-ratio: 9/16; }- .btn { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; }- .btn:hover { border-color: var(--accent2); }- .log { font: 11.5px/1.45 ui-monospace, Consolas, monospace; color: var(--dim); background: #0b0c0e; border: 1px solid var(--line); border-radius: 8px; padding: 8px; max-height: 160px; overflow-y: auto; white-space: pre-wrap; }- .log .ok { color: var(--accent); } .log .err { color: var(--err); } .log .hq { color: var(--accent2); }+ .note { color: var(--ash); font-size: 11.5px; line-height: 1.35; }+ .btn { padding: 6px 10px; border: 0; background: var(--coal2); cursor: pointer; clip-path: var(--notch); font-size: 12px; }+ .btn:hover { background: var(--coal3); }+ .btn:disabled { opacity: .45; cursor: default; }+ .log { font: 11px/1.5 var(--mono); color: var(--ash); background: var(--void); border: 1px solid var(--rule); padding: 8px; max-height: 160px; overflow-y: auto; white-space: pre-wrap; }+ .log .ok { color: var(--bone); } .log .err { color: var(--err); } .log .hq { color: var(--gold); }++ /* universal-modder community card, top-left of the stage (same component as soccar) */+ .um-discord { position: absolute; top: 14px; left: 14px; z-index: 5; color: var(--bone); text-decoration: none; filter: drop-shadow(-2px 2px 0 #000); }+ .um-discord-panel { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 11px; background: var(--coal); font: 12px/1.45 var(--mono); letter-spacing: .04em; font-variant-ligatures: none;+ clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px); }+ .um-discord-panel img { display: block; height: 18px; image-rendering: pixelated; }+ .um-discord-label { display: flex; justify-content: space-between; }+ .um-discord-arrow { color: var(--ash); }+ .um-discord:hover .um-discord-panel { background: var(--coal2); }+ .um-discord:hover .um-discord-label, .um-discord:hover .um-discord-arrow { color: var(--missing); }main { position: relative; overflow: hidden; }#stage { position: absolute; inset: 0; }#stage canvas { display: block; }- .vidwrap { position: absolute; top: 14px; left: 14px; width: min(38%, 520px); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.45); }+ .vidwrap { position: absolute; top: 94px; left: 14px; width: min(38%, 520px); overflow: hidden; border: 1px solid var(--rule); background: #000; box-shadow: 0 12px 34px rgba(0,0,0,.5); }.vidwrap video, .vidwrap canvas { display: block; width: 100%; }.vidwrap canvas { position: absolute; inset: 0; height: 100%; pointer-events: none; }- .vidwrap .empty { aspect-ratio: 16/9; display: grid; place-items: center; color: var(--dim); }- .vidwrap.portrait { width: auto; height: min(62%, 640px); aspect-ratio: 9/16; }+ .vidwrap .empty { aspect-ratio: 16/9; display: grid; place-items: center; color: var(--ash); font: 11px var(--mono); }+ .vidwrap.portrait { width: auto; height: min(calc(100% - 120px), 640px); aspect-ratio: 9/16; }.vidwrap.portrait video { width: 100%; height: 100%; object-fit: contain; }.vidwrap.portrait .empty { aspect-ratio: auto; height: 100%; padding: 0 16px; text-align: center; }.hud { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; pointer-events: none; }- .hud .tag { font: 12px ui-monospace, Consolas, monospace; background: rgba(14,15,17,.75); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }- .hud .src-live { color: var(--warn); } .hud .src-hq { color: var(--accent); }- .banner { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(14,15,17,.8); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 13px; display: none; }+ .hud .tag { font: 11px var(--mono); background: rgba(14,12,16,.82); padding: 5px 8px; clip-path: var(--notch); color: var(--ash); }+ .hud .src-live { color: var(--missing); } .hud .src-hq { color: var(--gold); }+ .banner { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(14,12,16,.88); padding: 8px 14px; font: 11.5px var(--mono); clip-path: var(--notch); display: none; }.banner.on { display: block; }- footer { background: var(--panel); border-top: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; display: flex; gap: 10px; padding: 10px 12px; }- .take { flex: 0 0 230px; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }- .take.playing { border-color: var(--accent); }- .take .p { font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 33px; }+ footer { background: var(--coal); border-top: 1px solid var(--rule); overflow-x: auto; overflow-y: hidden; display: flex; gap: 10px; padding: 10px 12px; }+ .take { flex: 0 0 230px; background: var(--coal2); padding: 9px; display: flex; flex-direction: column; gap: 6px; clip-path: var(--notch); position: relative; }+ .take.playing { background: #2b1a29; box-shadow: inset 2px 0 0 var(--missing); }+ .take .p { font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 34px; }.take .meta { display: flex; gap: 5px; flex-wrap: wrap; }.take .actions { display: flex; gap: 6px; margin-top: auto; }- .take .actions .btn { padding: 3px 8px; font-size: 12px; }- .spin { display: inline-block; width: 9px; height: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: s .8s linear infinite; vertical-align: -1px; }- @keyframes s { to { transform: rotate(360deg); } }+ .take .actions .btn { padding: 4px 8px; font: 11px var(--mono); background: var(--coal3); }+ .take .actions .btn:hover { background: var(--ash2); }+ .spin { display: inline-block; width: 6px; height: 6px; background: currentColor; animation: blink .5s steps(2) infinite; vertical-align: 1px; }+ @keyframes blink { 50% { opacity: 0; } }input[type=file] { display: none; }</style></head><body><div class="app"><aside>- <h1><span class="dot"></span> Prompt2Rig</h1>+ <div class="brand">+ <img src="./brand/mark.svg" alt="universal-modder mark" />+ <div>+ <h1>prompt2rig<span class="dot">.</span></h1>+ <a class="by" href="https://universalmodder.com" target="_blank" rel="noopener">by universal-modder</a>+ </div>+ </div><div class="pills"><span class="pill" id="pill-rig">character…</span><span class="pill" id="pill-pose">pose model…</span>- <span class="pill" id="pill-hq">HQ worker…</span>+ <span class="pill" id="pill-hq">hq worker…</span></div><div class="section">- <textarea id="prompt" placeholder="Describe a motion… e.g. does an energetic hip hop dance">does an energetic hip hop dance with big arm movements</textarea>- <button class="go" id="go">Generate ▸ <span style="opacity:.6;font-weight:400">(Ctrl+Enter)</span></button>+ <textarea id="prompt" placeholder="describe a motion… e.g. does an energetic hip hop dance">does an energetic hip hop dance with big arm movements</textarea>+ <button class="go" id="go"><span>generate<span style="color:var(--missing)">.</span></span><small>ctrl+enter</small></button><div class="chips" id="chips"></div></div><div class="section">- <label class="title">Performer (first frame)</label>+ <label class="title">performer · first frame</label><div class="performer"><img id="performer-img" alt="" />- <div style="display:flex;flex-direction:column;gap:6px">- <button class="btn" id="performer-new">New performer</button>- <span style="color:var(--dim);font-size:11.5px">flux/schnell → image-to-video keeps framing & body consistent</span>+ <div style="display:flex;flex-direction:column;gap:7px">+ <button class="btn" id="performer-new">new performer</button>+ <span class="note">one flux image starts every clip, so framing and body stay the same</span></div></div></div><div class="section">- <label class="title">Generation</label>- <label class="check"><input type="checkbox" id="stream" /><span><b>Stream mode</b><small>One continuous performance: each clip continues from the last, plays once its HQ motion is ready, and idles between prompts.</small></span></label>- <div class="row"><span>Video model</span>- <select id="videoModel"><option value="h3">H3 Max Turbo (fastest)</option><option value="flux3">FLUX 3 Max (best)</option></select></div>- <div class="row"><span>Orientation</span>- <select id="orientation"><option value="portrait">Portrait 9:16</option><option value="landscape">Landscape 16:9</option></select></div>- <div class="row"><span>Source</span>- <select id="source"><option value="performer">Performer → video</option><option value="t2v">Text → video</option></select></div>- <label class="check"><input type="checkbox" id="chain" /><span>Continue from last frame<small>Each clip starts where the previous ended — a continuous stream you direct with prompts.</small></span></label>- <div class="row"><span>Duration <b id="duration-v"></b></span><input type="range" id="duration" min="2" max="20" step="1" /></div>- <div class="row"><span>Resolution</span><select id="resolution"><option>480P</option><option>768P</option><option>1080P</option></select></div>+ <label class="title">generation</label>+ <label class="check"><input type="checkbox" id="stream" /><span><b>stream mode</b><small>one continuous performance: each clip picks up from the last, plays once its hq motion is in, and idles between prompts</small></span></label>+ <div class="row"><span>video model</span>+ <select id="videoModel"><option value="h3">h3 max turbo · fastest</option><option value="flux3">flux 3 max · best</option></select></div>+ <div class="row"><span>orientation</span>+ <select id="orientation"><option value="portrait">portrait 9:16</option><option value="landscape">landscape 16:9</option></select></div>+ <div class="row"><span>source</span>+ <select id="source"><option value="performer">performer → video</option><option value="t2v">text → video</option></select></div>+ <label class="check"><input type="checkbox" id="chain" /><span>continue from last frame<small>each clip starts where the previous one ended</small></span></label>+ <div class="row"><span>duration <b id="duration-v"></b></span><input type="range" id="duration" min="2" max="20" step="1" /></div>+ <div class="row"><span>resolution</span><select id="resolution"><option>480P</option><option>768P</option><option>1080P</option></select></div></div><div class="section">- <label class="title">Motion</label>- <label class="check"><input type="checkbox" id="hq" /><span>HQ pass (GVHMR on local GPU)<small>Live MediaPipe preview immediately, swaps to GVHMR motion when ready.</small></span></label>- <label class="check"><input type="checkbox" id="waitHq" /><span>Hold playback until HQ is ready<small>Cleanest look; adds a few seconds before each clip.</small></span></label>- <label class="check"><input type="checkbox" id="hands" /><span>Track fingers<small>Hand model on the source clip → wrist + finger poses in the HQ motion. Untracked hands rest in a natural curl.</small></span></label>- <label class="check"><input type="checkbox" id="rootMotion" /><span>Root motion</span></label>- <div class="row"><span>Live pose model</span><select id="poseModel"><option value="heavy">Heavy</option><option value="full">Full</option></select></div>- <div class="row"><span>Live smoothing</span><input type="range" id="smoothing" min="0" max="1" step="0.05" /></div>- <label class="check"><input type="checkbox" id="showSkel" /><span>Skeleton overlay on video</span></label>+ <label class="title">motion</label>+ <label class="check"><input type="checkbox" id="hq" /><span>hq pass · gvhmr on your gpu<small>instant mediapipe preview, then the gvhmr motion swaps in</small></span></label>+ <label class="check"><input type="checkbox" id="waitHq" /><span>hold playback until hq is ready<small>cleanest look, a few seconds before each clip</small></span></label>+ <label class="check"><input type="checkbox" id="hands" /><span>track fingers<small>wilor on the source clip → wrist and finger poses. untracked hands rest in a natural curl</small></span></label>+ <label class="check"><input type="checkbox" id="rootMotion" /><span>root motion</span></label>+ <div class="row"><span>live pose model</span><select id="poseModel"><option value="heavy">heavy</option><option value="full">full</option></select></div>+ <div class="row"><span>live smoothing</span><input type="range" id="smoothing" min="0" max="1" step="0.05" /></div>+ <label class="check"><input type="checkbox" id="showSkel" /><span>skeleton overlay on video</span></label></div><div class="section">- <label class="title">Character</label>- <div class="row"><span>Rig</span>- <select id="character"><option value="xbot">X Bot</option><option value="michelle">Michelle</option><option value="soldier">Soldier</option></select></div>- <label class="check"><input type="checkbox" id="swap" /><span>Swap character every loop<small>X Bot → Michelle → Soldier, cutting on each loop (or each new clip in Stream mode).</small></span></label>- <label class="check"><input type="checkbox" id="cinematic" /><span>Cinematic camera<small>Slow arc and push-in around the performer. Drag to take over; it resumes after a few seconds.</small></span></label>+ <label class="title">character</label>+ <div class="row"><span>rig</span>+ <select id="character"><option value="xbot">x bot</option><option value="michelle">michelle</option><option value="soldier">soldier</option></select></div>+ <label class="check"><input type="checkbox" id="swap" /><span>swap character every loop<small>x bot → michelle → soldier, cutting on each loop</small></span></label>+ <label class="check"><input type="checkbox" id="cinematic" /><span>cinematic camera<small>slow arc and push-in. drag to take over</small></span></label><div class="row">- <button class="btn" id="btn-char">Load Mixamo file…</button>- <button class="btn" id="btn-vid">Use a video file…</button>+ <button class="btn" id="btn-char">load mixamo file…</button>+ <button class="btn" id="btn-vid">use a video file…</button></div><input type="file" id="file-char" accept=".glb,.gltf,.fbx" /><input type="file" id="file-vid" accept="video/*" /></div>- <div class="section" style="flex:1">- <label class="title">Log</label>+ <div class="section">+ <label class="title">log</label><div class="log" id="log"></div></div>+</aside><main><div id="stage"></div>+ <a class="um-discord" href="https://discord.gg/Vp3cw3e29" target="_blank" rel="noopener noreferrer" aria-label="join the universal-modder discord (opens in a new tab)">+ <span class="um-discord-panel">+ <img src="./brand/logo.svg" alt="universal-modder" />+ <span class="um-discord-label">join our discord <span class="um-discord-arrow">↗</span></span>+ </span>+ </a><div class="vidwrap" id="vidwrap">- <div class="empty" id="vid-empty">Generated video appears here</div>+ <div class="empty" id="vid-empty">generated video appears here</div><video id="video" muted playsinline crossorigin="anonymous" style="display:none"></video><canvas id="overlay"></canvas></div><div class="hud"><div class="tag" id="hud-src">—</div>- <div class="tag" id="hud-time" style="color:var(--dim)"></div>+ <div class="tag" id="hud-time"></div></div><div class="banner" id="banner"></div></main>diff --git a/public/stage.js b/public/stage.jsindex a82762b..7e29691 100644--- a/public/stage.js+++ b/public/stage.js@@ -4,8 +4,9 @@ import { OrbitControls } from 'three/addons/controls/OrbitControls.js';import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';import { Reflector } from 'three/addons/objects/Reflector.js';-const FLOOR_COLOR = 0x15171b;-const FOG_COLOR = 0x111216;+// universal-modder palette: void / coal / rule, magenta ("missing") rim+const FLOOR_COLOR = 0x17141b;+const FOG_COLOR = 0x0e0c10;function gradientTexture(top, bottom) {const c = document.createElement('canvas'); c.width = 4; c.height = 512;@@ -37,7 +38,7 @@ export function createStage(container) {container.appendChild(renderer.domElement);const scene = new THREE.Scene();- scene.background = gradientTexture('#262a32', '#111216');+ scene.background = gradientTexture('#25212a', '#0e0c10');scene.fog = new THREE.Fog(FOG_COLOR, 9, 26);// Soft studio reflections on the characters' materials.const pmrem = new THREE.PMREMGenerator(renderer);@@ -53,13 +54,13 @@ export function createStage(container) {// Lights: warm key with soft shadows, cool rim from behind, low fill.scene.add(new THREE.HemisphereLight(0xdfe6ff, 0x16181c, 0.55));- const key = new THREE.DirectionalLight(0xfff1e0, 2.6);+ const key = new THREE.DirectionalLight(0xf2ece2, 2.7);key.position.set(-2.8, 5.5, 4.2); key.castShadow = true;key.shadow.mapSize.set(2048, 2048);key.shadow.bias = -0.0004; key.shadow.normalBias = 0.02;Object.assign(key.shadow.camera, { left: -6, right: 6, top: 6, bottom: -6, near: 0.5, far: 20 });scene.add(key);- const rim = new THREE.DirectionalLight(0x8fb8ff, 2.2);+ const rim = new THREE.DirectionalLight(0xff3cd2, 1.15);rim.position.set(3.5, 4, -4.5);scene.add(rim);const fill = new THREE.DirectionalLight(0xffffff, 0.35);@@ -68,7 +69,7 @@ export function createStage(container) {// Floor: a mirror underneath a mostly-opaque matte surface → a subtle, soft reflection.const mirror = new Reflector(new THREE.CircleGeometry(40, 64), {- color: 0x6f747c,+ color: 0x6f6876,textureWidth: Math.round(container.clientWidth * renderer.getPixelRatio() * 0.5) || 1024,textureHeight: Math.round(container.clientHeight * renderer.getPixelRatio() * 0.5) || 1024,});@@ -80,7 +81,7 @@ export function createStage(container) {);floor.rotation.x = -Math.PI / 2; floor.receiveShadow = true;scene.add(floor);- const grid = new THREE.GridHelper(40, 80, 0x3a3f47, 0x262a30);+ const grid = new THREE.GridHelper(40, 80, 0x302b36, 0x231f28);grid.material.transparent = true; grid.material.opacity = 0.35; grid.position.y = 0.002;scene.add(grid);diff --git a/tools/banner_frames.json b/tools/banner_frames.jsonnew file mode 100644index 0000000..869fa8c--- /dev/null+++ b/tools/banner_frames.json@@ -0,0 +1,8 @@+[+ {"label": "side kick", "video": "captures/15_does_a_side_kick_then_returns_to_a_fighting_stan.mp4", "t": 2.1},+ {"label": "cheer kick", "video": "captures_xbot/06_does_an_energetic_cheerleading_routine_with_high.mp4", "t": 9.3},+ {"label": "fingers, tracked", "video": "captures_hero/01_counts_from_one_to_five_on_their_raised_right_ha.mp4", "t": 7.6},+ {"label": "crane kick", "video": "captures_xbot/17_does_a_powerful_kung_fu_form_with_deep_horse_sta.mp4", "t": 7.2},+ {"label": "bollywood", "video": "captures/04_does_a_cheerful_bollywood_dance_with_hands_raise.mp4", "t": 1.3},+ {"label": "arabesque", "video": "captures_xbot/16_does_a_ballet_sequence_pli_relev_then_an_arabesq.mp4", "t": 9.6}+]diff --git a/tools/brand_assets.py b/tools/brand_assets.pynew file mode 100644index 0000000..bb85a26--- /dev/null+++ b/tools/brand_assets.py@@ -0,0 +1,213 @@+"""Render the README's branded media (universal-modder style) into docs/media/.++ python tools/brand_assets.py [--frames frames.json]++- banner.png: wordmark, "prompt2rig." in Geist Pixel, the one-line pitch, and a grid of real captures+- badges/*.png: pixel badges (notched void pill, magenta bullet, ash label, bone value) like universal-modder's+Fonts come from public/brand/fonts (Geist Pixel, Instrument Sans, Sometype Mono — OFL).+"""++from __future__ import annotations++import argparse+import json+import re+import subprocess+from pathlib import Path++from PIL import Image, ImageDraw, ImageFont++ROOT = Path(__file__).resolve().parents[1]+BRAND = ROOT / "public" / "brand"+FONTS = BRAND / "fonts"+OUT = ROOT / "docs" / "media"++VOID, COAL, COAL2, RULE = (14, 12, 16), (28, 25, 32), (37, 33, 42), (43, 38, 48)+ASH, ASH2, BONE, MISSING = (142, 135, 150), (93, 87, 101), (242, 236, 226), (255, 60, 210)+GEIST_EM = 1000 / 38 # Geist Pixel draws on a 38/1000 em grid: whole multiples of this stay pixel-crisp+++def font(name: str, size: float, weight: int | None = None) -> ImageFont.FreeTypeFont:+ path = FONTS / f"{name}.woff2"+ ttf = FONTS / f"{name}.ttf"+ if not ttf.exists(): # Pillow can't read woff2: decompress once next to it (ignored by git)+ from fontTools.ttLib import TTFont++ f = TTFont(str(path)); f.flavor = None; f.save(str(ttf))+ f = ImageFont.truetype(str(ttf), round(size))+ if weight:+ try:+ axes = f.get_variation_axes()+ f.set_variation_by_axes([weight if (a["name"] if isinstance(a["name"], str) else a["name"].decode()).lower().startswith("wei") else a["default"] for a in axes])+ except Exception:+ pass+ return f+++def svg_rects(path: Path, scale: int) -> Image.Image:+ """Rasterise the brand's crispEdges SVGs (unions of whole-unit rects) at an integer scale."""+ svg = path.read_text(encoding="utf-8")+ vb = [int(float(v)) for v in re.search(r'viewBox="([^"]+)"', svg).group(1).split()]+ img = Image.new("RGBA", (vb[2] * scale, vb[3] * scale), (0, 0, 0, 0))+ d = ImageDraw.Draw(img)+ for fill, data in re.findall(r'<path fill="(#[0-9A-Fa-f]{6})" d="([^"]+)"', svg):+ rgb = tuple(int(fill[i:i + 2], 16) for i in (1, 3, 5))+ for x, y, w, h in re.findall(r"M(-?\d+) (-?\d+)h(-?\d+)v(-?\d+)h-?\d+z", data):+ x, y, w, h = map(int, (x, y, w, h))+ d.rectangle([x * scale, y * scale, (x + w) * scale - 1, (y + h) * scale - 1], fill=rgb)+ return img+++def notched(w: int, h: int, n: int, color) -> Image.Image:+ """A pill with the brand's 1-unit notched corners."""+ img = Image.new("RGBA", (w, h), (0, 0, 0, 0))+ d = ImageDraw.Draw(img)+ d.rectangle([n, 0, w - n - 1, h - 1], fill=color)+ d.rectangle([0, n, w - 1, h - n - 1], fill=color)+ return img+++def pixel_text(draw: ImageDraw.ImageDraw, xy, text, fnt, fill):+ draw.fontmode = "1" # Geist Pixel without anti-aliasing+ draw.text(xy, text, font=fnt, fill=fill)+ draw.fontmode = "L"+++# ---- badges ------------------------------------------------------------------------------------+def badge(label: str, value: str, icon: Image.Image | None = None) -> Image.Image:+ S = 2 # 2 px per brand unit (26-px-tall badge units → 52 px)+ mono = font("SometypeMono", 22, 400)+ h = 26 * S+ lw = mono.getlength(label + " "); vw = mono.getlength(value)+ lead = (icon.width + 10) if icon else 22+ w = int(14 + lead + lw + vw + 16)+ img = notched(w, h, S, VOID + (255,))+ d = ImageDraw.Draw(img)+ if icon:+ img.alpha_composite(icon, (12, (h - icon.height) // 2))+ else:+ d.rectangle([14, h // 2 - 4, 21, h // 2 + 3], fill=MISSING)+ x = 14 + lead+ d.text((x, h // 2), label, font=mono, fill=ASH, anchor="lm")+ d.text((x + lw, h // 2), value, font=mono, fill=BONE, anchor="lm")+ return img+++X_ICON = ["10000001", "01000010", "00100100", "00011000", "00011000", "00100100", "01000010", "10000001"]+++def pixel_icon(rows: list[str], unit: int, color) -> Image.Image:+ img = Image.new("RGBA", (len(rows[0]) * unit, len(rows) * unit), (0, 0, 0, 0))+ d = ImageDraw.Draw(img)+ for y, row in enumerate(rows):+ for x, c in enumerate(row):+ if c == "1":+ d.rectangle([x * unit, y * unit, (x + 1) * unit - 1, (y + 1) * unit - 1], fill=color)+ return img+++def button(prefix: str, main: str, icon: Image.Image, unit: int = 4) -> Image.Image:+ """Pixel button matching the brand's 'join the discord' button: void pill 16 units tall with stepped corners,+ icon on the left, then the text in two tones ('prefix' ash, 'main' bone) in Geist Pixel.+ Rendered at `unit` px per brand unit; show it at height 32 (that's 2x for sharp retina display)."""+ h = 16 * unit+ title = font("GeistPixel", GEIST_EM * unit / 2) # whole Geist cells: 2 px each at unit 4+ probe = ImageDraw.Draw(Image.new("RGBA", (1, 1)))+ pw = probe.textlength(prefix + " ", font=title)+ mw = probe.textlength(main, font=title)+ x0 = 3 * unit + icon.width + 3 * unit+ w = int(x0 + pw + mw + 4 * unit)+ img = Image.new("RGBA", (w, h), (0, 0, 0, 0))+ d = ImageDraw.Draw(img)+ d.rectangle([unit, 0, w - unit - 1, h - 1], fill=VOID) # stepped 1-unit corners+ d.rectangle([0, unit, w - 1, h - unit - 1], fill=VOID)+ img.alpha_composite(icon, (3 * unit, (h - icon.height) // 2))+ d.fontmode = "1"+ d.text((x0, h // 2), prefix, font=title, fill=ASH, anchor="lm")+ d.text((x0 + pw, h // 2), main, font=title, fill=BONE, anchor="lm")+ d.fontmode = "L"+ return img+++def discord_icon(scale=2) -> Image.Image:+ full = svg_rects(BRAND / "discord.svg", scale)+ return full.crop((3 * scale, 3 * scale, 15 * scale, 12 * scale))+++# ---- banner ------------------------------------------------------------------------------------+def banner(frames: list[dict]) -> Image.Image:+ W, H = 1280, 640+ img = Image.new("RGBA", (W, H), (19, 17, 22, 255))+ d = ImageDraw.Draw(img)+ # brand row: the universal-modder logo (mark + wordmark)+ logo = svg_rects(BRAND / "logo.svg", 3)+ img.alpha_composite(logo, (70, 70))+ # title+ title = font("GeistPixel", GEIST_EM * 3)+ pixel_text(d, (66, 176), "prompt2rig", title, BONE)+ tw = d.textlength("prompt2rig", font=title)+ d.rectangle([66 + tw + 6, 176 + 58, 66 + tw + 6 + 11, 176 + 69], fill=MISSING) # the brand's magenta period+ # pitch (Instrument Sans, ash), wrapped to the left column+ sans = font("InstrumentSans", 21, 400)+ words = ("type a motion. a video model acts it out, your gpu lifts the 3d motion, fingers included, "+ "and any mixamo character performs it.").split()+ lines, cur = [], ""+ for wd in words:+ if d.textlength((cur + " " + wd).strip(), font=sans) > 470:+ lines.append(cur); cur = wd+ else:+ cur = (cur + " " + wd).strip()+ lines.append(cur)+ for i, ln in enumerate(lines):+ d.text((70, 300 + i * 32), ln, font=sans, fill=ASH)+ # footer lines (mono)+ mono = font("SometypeMono", 15, 400); monob = font("SometypeMono", 15, 700)+ d.text((70, 505), "apache-2.0", font=monob, fill=BONE)+ d.text((70 + d.textlength("apache-2.0 ", font=monob), 505), "github.com/blendi-remade/prompt2rig", font=mono, fill=ASH)+ d.text((70, 546), "a universal-modder tool · universalmodder.com", font=mono, fill=ASH)+ # grid of real captures, 2 x 3, with mono labels like the universal-modder banner+ x0, y0, tw_, th_, gap = 602, 52, 310, 174, 6+ lab = font("SometypeMono", 13, 400)+ for i, fr in enumerate(frames[:6]):+ cx, cy = x0 + (i % 2) * (tw_ + gap), y0 + (i // 2) * (th_ + gap + 1)+ tile = Image.open(fr["path"]).convert("RGB").resize((tw_, th_), Image.LANCZOS)+ img.paste(tile, (cx, cy))+ tlw = d.textlength(fr["label"], font=lab)+ d.rectangle([cx + 8, cy + th_ - 28, cx + 8 + tlw + 12, cy + th_ - 8], fill=VOID)+ d.text((cx + 14, cy + th_ - 18), fr["label"], font=lab, fill=BONE, anchor="lm")+ return img+++def grab(video: str, t: float, out: Path) -> Path:+ # captures are 2560x1440 app recordings: crop the stage (video panel + character), 16:9+ subprocess.run(["ffmpeg", "-v", "error", "-y", "-ss", str(t), "-i", video, "-frames:v", "1",+ "-vf", "crop=2220:1249:340:0", str(out)], check=True)+ return out+++def main():+ ap = argparse.ArgumentParser()+ ap.add_argument("--frames", default=str(ROOT / "tools" / "banner_frames.json"))+ a = ap.parse_args()+ (OUT / "badges").mkdir(parents=True, exist_ok=True)+ tmp = OUT / "_frames"; tmp.mkdir(exist_ok=True)+ spec = json.loads(Path(a.frames).read_text(encoding="utf-8"))+ frames = [{"label": f["label"], "path": grab(str(ROOT / f["video"]), f["t"], tmp / f"{i}.png")} for i, f in enumerate(spec)]+ banner(frames).convert("RGB").save(OUT / "banner.png", optimize=True)+ for name, (label, value, icon) in {+ "video": ("video", "flux 3 max · h3 max turbo", None),+ "motion": ("motion", "gvhmr · wilor fingers", None),+ "license": ("license", "apache-2.0", None),+ }.items():+ badge(label, value, icon).save(OUT / "badges" / f"{name}.png", optimize=True)+ button("visit", "universalmodder.com", svg_rects(BRAND / "mark.svg", 4)).save(OUT / "button-website.png", optimize=True)+ button("follow", "@universalmodhq", pixel_icon(X_ICON, 4, BONE)).save(OUT / "button-x.png", optimize=True)+ svg_rects(BRAND / "discord.svg", 4).save(OUT / "button-discord.png", optimize=True)+ for f in tmp.iterdir():+ f.unlink()+ tmp.rmdir()+ print("wrote", OUT)+++if __name__ == "__main__":+ main()