Type a motion, watch a rigged character perform it: fast video model + GVHMR + live Mixamo retargeting
JavaScript
Shape the empty video panel by the orientation setting
blendi-remadedb197fae128d
diff --git a/public/app.js b/public/app.jsindex d73fe5c..ae5d4df 100644--- a/public/app.js+++ b/public/app.js@@ -585,6 +585,8 @@ function showPerformer() {const img = $('#performer-img'), url = settings.performerUrls[settings.orientation];img.classList.toggle('portrait', settings.orientation === 'portrait');if (url) img.src = url; else img.removeAttribute('src');+ // Before any clip has loaded, shape the empty video panel like the clips that will come.+ if (!video.videoWidth) $('#vidwrap').classList.toggle('portrait', settings.orientation === 'portrait');}if (settings.performerUrl) { settings.performerUrls.landscape ||= settings.performerUrl; delete settings.performerUrl; save(); }bindSetting('orientation', 'value', showPerformer);diff --git a/public/index.html b/public/index.htmlindex 432d7d6..1ff96f6 100644--- a/public/index.html+++ b/public/index.html@@ -59,6 +59,7 @@.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.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); }