Avatar Forcing renderer on your GPU: portrait encoder + StyleGAN-style decoder in the browser, with an fps benchmark
Browse filesFiles changed (9)
- .gitattributes+1
- README.md+21-5
- app.jsAdded+171
- avatars/amber.jpgAdded
- avatars/ken.jpgAdded
- avatars/rumi.jpgAdded
- avatars/vicky.jpgAdded
- index.html+47-17
- style.css+28-28
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textavatars/ken.jpg filter=lfs diff=lfs merge=lfs -text
12345678910---title: AvatarForcing WebGPUemoji: 💻colorFrom: redcolorTo: indigosdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference1234567891011121314151617181920212223242526---title: Avatar Forcing WebGPUemoji: 🪞colorFrom: greencolorTo: yellowsdk: staticapp_file: index.htmlpinned: falselicense: cc-by-nc-4.0short_description: A talking-head renderer on your own GPU, with an fps testcustom_headers:cross-origin-embedder-policy: credentiallesscross-origin-opener-policy: same-origincross-origin-resource-policy: cross-originmodels:- WeReCooking/AvatarForcing-ONNX-WebGPU- TaekyungKi/AvatarForcingtags:- webgpu- onnxruntime-web- talking-head- avatar---[Avatar Forcing](https://github.com/TaekyungKi/AvatarForcing)'s portrait encoder and renderer, running on your own GPU in the browser: pick a portrait, press Start, and see whether your GPU reaches the 25 fps a live avatar needs.Motion here is synthetic (the speech-to-motion model, speech recognition and voice are not included yet). Non-commercial: the weights are CC BY-NC 4.0.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171// Avatar Forcing renderer in the browser (WebGPU, onnxruntime-web).// The model (Ki et al., CVPR 2026) turns ONE portrait plus a stream of 20-number "motion" vectors into video frames.// This page runs the real portrait encoder and the real StyleGAN-style decoder on your GPU and drives them with a synthetic motion// signal, so you can see the quality and measure whether your GPU can render the 25 frames per second a live avatar needs.// Not included yet: the speech-to-motion transformer, speech recognition, the language model and voice (see the notes on the page).import * as ort from 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.31.1/dist/ort.webgpu.min.mjs';
const q = new URLSearchParams(location.search);const local = (v) => (v && v.startsWith('/') && !v.startsWith('//') ? v : null); // same-origin test hook onlyconst MODELS = local(q.get('models')) || 'https://huggingface.co/WeReCooking/AvatarForcing-ONNX-WebGPU/resolve/main/';const $ = (id) => document.getElementById(id);const ui = { status: $('status'), bar: $('bar').firstElementChild, canvas: $('view'), fps: $('fps'), ms: $('ms'), verdict: $('verdict'), gpu: $('gpu'), start: $('start'), pause: $('pause'), bench: $('bench'), amp: $('amp'), spd: $('spd'), file: $('file'), avatars: $('avatars'), out: $('benchout') };const ctx2d = ui.canvas.getContext('2d');const AVATARS = [['rumi', 'Rumi'], ['vicky', 'Vicky'], ['ken', 'Ken'], ['amber', 'Amber']];const SIZE = 512, FEAT_SHAPES = [[1, 512, 8, 8], [1, 512, 16, 16], [1, 512, 32, 32], [1, 256, 64, 64], [1, 128, 128, 128], [1, 64, 256, 256], [1, 32, 512, 512]];const mb = (b) => `${Math.round(b / 1e6)} MB`;// ORT-Web's WebGPU backend hangs if two session.run() calls overlap (verified), and Pause / Benchmark / switching portrait can overlap a frame in flight: one lock for all runs.let lock = Promise.resolve();const exclusive = (fn) => { const r = lock.then(fn); lock = r.catch(() => {}); return r; };const sleep = (ms) => new Promise((r) => setTimeout(r, ms));const yieldNow = () => new Promise((r) => { const c = new MessageChannel(); c.port1.onmessage = () => r(); c.port2.postMessage(0); }); // no 4 ms setTimeout clamp between framesfunction status(t, frac = null, bad = false) { ui.status.textContent = t; ui.status.classList.toggle('bad', bad); if (frac !== null) ui.bar.style.width = `${Math.round(Math.max(0, Math.min(1, frac)) * 100)}%`; }
// ------------------------------------------------------------ float16 helpers (Float16Array is not in every browser yet)const f32 = new Float32Array(1), u32 = new Uint32Array(f32.buffer);function toHalf(v) { f32[0] = v; const x = u32[0], s = (x >>> 16) & 0x8000; let e = ((x >>> 23) & 0xff) - 112, m = x & 0x7fffff; if (e <= 0) { if (e < -10) return s; m = (m | 0x800000) >> (1 - e); return s | ((m + 0x1000) >> 13); } if (e >= 31) return s | 0x7c00; return s | (e << 10) | ((m + 0x1000) >> 13);}const HALF = new Float32Array(65536);for (let i = 0; i < 65536; i++) { const s = i & 0x8000 ? -1 : 1, e = (i >> 10) & 31, f = i & 1023; HALF[i] = e === 0 ? s * f * 2 ** -24 : e === 31 ? (f ? NaN : s * Infinity) : s * (1 + f / 1024) * 2 ** (e - 15); }
// ------------------------------------------------------------ model loadinglet sess = null, F16 = false, basis = null, feats = null, xr = null, running = false, token = 0;
async function fetchBytes(url, label, base, span) { // download with progress; the browser cache keeps it for next time const r = await fetch(url); if (!r.ok) throw new Error(`${label}: HTTP ${r.status}`); const total = +r.headers.get('content-length') || 0, reader = r.body.getReader(), parts = []; let got = 0; for (;;) { const { done, value } = await reader.read(); if (done) break; parts.push(value); got += value.length; status(`Downloading ${label}: ${mb(got)}${total ? ' of ' + mb(total) : ''}`, base + span * (total ? got / total : 0)); } const out = new Uint8Array(got); let o = 0; for (const p of parts) { out.set(p, o); o += p.length; } return out;}
async function adapterInfo() { if (!navigator.gpu) throw new Error('This browser has no WebGPU. Use a current Chrome or Edge on a desktop with a dedicated GPU.'); const a = await navigator.gpu.requestAdapter({ powerPreference: 'high-performance' }); if (!a) throw new Error('WebGPU is present but no GPU adapter was found.'); const i = a.info || {}; return { a, f16: a.features.has('shader-f16'), name: [i.vendor, i.architecture, i.description].filter(Boolean).join(' ') || 'unknown GPU', soft: /swiftshader|llvmpipe|software/i.test(`${i.architecture} ${i.description}`) };}
async function loadModels() { if (sess) return; const info = await adapterInfo(); const want16 = info.f16 && q.get('fp') !== '32'; ort.env.wasm.numThreads = 1; ort.env.webgpu.powerPreference = 'high-performance'; ort.env.logLevel = 'error'; const opts = { executionProviders: ['webgpu'], graphOptimizationLevel: 'all', logSeverityLevel: 3 }; const bb = await fetchBytes(MODELS + 'motion_basis_512x20.f32', 'motion basis', 0, 0.01); basis = new Float32Array(bb.buffer, bb.byteOffset, 512 * 20); for (const half of want16 ? [true, false] : [false]) { // fp16 first (smaller, faster); if this GPU/browser rejects it, fall back to fp32 const dt = half ? 'fp16' : 'fp32'; F16 = half; ui.gpu.textContent = `${info.name} · shader-f16: ${info.f16 ? 'yes' : 'no'} · using ${dt} models${info.soft ? ' · SOFTWARE adapter, timings are meaningless' : ''}`; try { const encB = await fetchBytes(`${MODELS}encoder_${dt}.onnx`, `portrait encoder (${dt})`, 0.01, 0.2); const decB = await fetchBytes(`${MODELS}decoder_${dt}.onnx`, `renderer (${dt})`, 0.21, 0.4); status('Preparing the GPU programs (first time only, can take a little while)…', 0.62); const t = performance.now(); sess = { enc: await ort.InferenceSession.create(encB, opts), dec: await ort.InferenceSession.create(decB, opts), load: Math.round(performance.now() - t) }; status(`Models ready (GPU programs built in ${sess.load} ms).`, 1); return; } catch (e) { console.warn(`${dt} models failed:`, e); sess = null; if (!half) throw e; status('fp16 did not work on this GPU, trying fp32…', 0.3); } }}
// ------------------------------------------------------------ portrait -> identity features (once per portrait)function tensorFrom(arr32, dims) { return F16 ? new ort.Tensor('float16', Uint16Array.from(arr32, toHalf), dims) : new ort.Tensor('float32', arr32, dims); }
async function loadPortrait(src) { const img = await new Promise((res, rej) => { const i = new Image(); i.crossOrigin = 'anonymous'; i.onload = () => res(i); i.onerror = () => rej(new Error('could not read that image')); i.src = src; }); const c = document.createElement('canvas'); c.width = c.height = SIZE; const g = c.getContext('2d'); const s = Math.min(img.width, img.height); g.drawImage(img, (img.width - s) / 2, (img.height - s) / 2, s, s, 0, 0, SIZE, SIZE); // centre-crop to a square const px = g.getImageData(0, 0, SIZE, SIZE).data, n = SIZE * SIZE, x = new Float32Array(3 * n); for (let i = 0; i < n; i++) for (let k = 0; k < 3; k++) x[k * n + i] = px[i * 4 + k] / 127.5 - 1; const t = performance.now(); const out = await exclusive(() => sess.enc.run({ img: tensorFrom(x, [1, 3, SIZE, SIZE]) })); const encMs = Math.round(performance.now() - t); xr = await out.x_r.getData(); xr = F16 ? Float32Array.from(xr, (v) => HALF[v]) : Float32Array.from(xr); feats = FEAT_SHAPES.map((_, i) => out[`f${i}`]); // stay as tensors: they are fed to the renderer every frame ctx2d.drawImage(c, 0, 0); return encMs;}
// ------------------------------------------------------------ renderingconst imgData = ctx2d.createImageData(SIZE, SIZE);function paint(u) { // decoder output [1,3,512,512] in [-1,1] -> canvas const n = SIZE * SIZE, d = imgData.data; for (let i = 0; i < n; i++) { const r = F16 ? HALF[u[i]] : u[i], gg = F16 ? HALF[u[n + i]] : u[n + i], b = F16 ? HALF[u[2 * n + i]] : u[2 * n + i]; const o = i * 4; d[o] = (r * 0.5 + 0.5) * 255; d[o + 1] = (gg * 0.5 + 0.5) * 255; d[o + 2] = (b * 0.5 + 0.5) * 255; d[o + 3] = 255; } ctx2d.putImageData(imgData, 0, 0);}const PH = Array.from({ length: 20 }, (_, i) => 0.37 * i + 1), FR = Array.from({ length: 20 }, (_, i) => 0.55 + 0.23 * ((i * 7) % 11) / 11);function style(t, amp, spd) { // wa = identity style + sum_i lambda_i * basis_i (a smooth synthetic motion) const lam = new Float32Array(20); for (let i = 0; i < 20; i++) lam[i] = amp * Math.sin(spd * FR[i] * t * 2 * Math.PI * 0.35 + PH[i]); const wa = new Float32Array(512); for (let j = 0; j < 512; j++) { let s = xr[j]; for (let i = 0; i < 20; i++) s += basis[j * 20 + i] * lam[i]; wa[j] = s; } return tensorFrom(wa, [1, 512]);}async function frame(t) { const feed = { wa: style(t, +ui.amp.value, +ui.spd.value) }; FEAT_SHAPES.forEach((_, i) => { feed[`f${i}`] = feats[i]; }); const t0 = performance.now(); const out = await exclusive(async () => { const o = await sess.dec.run(feed); o.u = await o.img.getData(); return o; }); const u = out.u; const t1 = performance.now(); paint(u); const t2 = performance.now(); out.img.dispose?.(); return { gpu: t1 - t0, draw: t2 - t1 };}
const ema = { gpu: 0, draw: 0, tot: 0 };async function loop(my) { let last = performance.now(), t0 = last, n = 0; while (running && my === token) { const r = await frame((performance.now() - t0) / 1000); const now = performance.now(), dt = now - last; last = now; n++; const k = n < 3 ? 1 : 0.1; ema.gpu += k * (r.gpu - ema.gpu); ema.draw += k * (r.draw - ema.draw); ema.tot += k * (dt - ema.tot); if (n === 1 || n % 3 === 0) show(); await yieldNow(); }}function show() { const fps = 1000 / ema.tot; ui.fps.textContent = `${fps.toFixed(1)} fps`; ui.ms.textContent = `${ema.tot.toFixed(0)} ms/frame (render + read back ${ema.gpu.toFixed(0)} ms, paint ${ema.draw.toFixed(0)} ms)`; ui.verdict.textContent = fps >= 25 ? `Fast enough for live use: ${(fps / 25).toFixed(1)}× the 25 fps needed.` : `${(fps / 25).toFixed(2)}× of the 25 fps needed for live use.`; ui.verdict.className = fps >= 25 ? 'ok' : 'slow';}
async function benchmark() { if (!sess || !feats) return; try { await benchmark2(); } catch (e) { console.error(e); status(`Benchmark failed: ${e.message || e}`, null, true); }}async function benchmark2() { const was = running; running = false; token++; await sleep(50); const W = q.has('bw') ? +q.get('bw') : 5, N = +q.get('bn') || 40; // frame counts are overridable for testing on slow software GPUs status(`Benchmark: ${W} warm-up frames, then ${N} timed frames…`, 0.5); const gpu = [], tot = []; for (let i = 0; i < W; i++) await frame(i / 25); for (let i = 0; i < N; i++) { const a = performance.now(); const r = await frame(i / 25); tot.push(performance.now() - a); gpu.push(r.gpu); } const med = (a) => a.slice().sort((x, y) => x - y)[a.length >> 1], p95 = (a) => a.slice().sort((x, y) => x - y)[Math.floor(a.length * 0.95)]; const m = med(tot), msg = `${ui.gpu.textContent}\nframe (render + read back + paint): median ${m.toFixed(1)} ms, p95 ${p95(tot).toFixed(1)} ms, render+read back median ${med(gpu).toFixed(1)} ms\n` + `= ${(1000 / m).toFixed(1)} fps; a 10-frame block takes about ${(10 * m).toFixed(0)} ms of the 400 ms budget (the speech-to-motion step still has to fit in the rest)`; ui.out.textContent = msg; ui.out.hidden = false; status('Benchmark done.', 1); if (was) { running = true; loop(token); }}
// ------------------------------------------------------------ UIasync function useAvatar(src) { try { token++; running = false; ui.pause.textContent = 'Pause'; status('Reading the portrait…', 0.7); await loadModels(); const ms = await loadPortrait(src); status(`Portrait encoded in ${ms} ms. Press Start.`, 1); ui.start.disabled = false; ui.bench.disabled = false; ui.pause.disabled = true; } catch (e) { console.error(e); status(e.message || String(e), null, true); }}for (const [id, name] of AVATARS) { const b = document.createElement('button'); b.type = 'button'; b.className = 'av'; b.title = name; b.setAttribute('aria-label', name); const im = document.createElement('img'); im.src = `avatars/${id}.jpg`; im.alt = name; im.width = im.height = 64; b.append(im); b.addEventListener('click', () => { [...ui.avatars.children].forEach((c) => c.classList.toggle('on', c === b)); useAvatar(`avatars/${id}.jpg`); }); ui.avatars.append(b);}ui.file.addEventListener('change', () => { const f = ui.file.files[0]; if (f) { [...ui.avatars.children].forEach((c) => c.classList.remove('on')); useAvatar(URL.createObjectURL(f)); } });ui.start.addEventListener('click', () => { if (!feats) return; status('Rendering live. Motion is synthetic (not speech).', 1); running = true; token++; ui.start.disabled = true; ui.pause.disabled = false; loop(token); });ui.pause.addEventListener('click', () => { running = !running; ui.pause.textContent = running ? 'Pause' : 'Resume'; if (running) { token++; loop(token); } });ui.bench.addEventListener('click', benchmark);document.addEventListener('visibilitychange', () => { if (document.hidden && running) { running = false; ui.pause.textContent = 'Resume'; } }); // do not burn the GPU in a background tabwindow.__av = { useAvatar, benchmark, frame, state: () => ({ F16, ema }) }; // test hookadapterInfo().then((i) => { // check the GPU up front so nobody clicks a portrait and waits just to be told no ui.gpu.textContent = `${i.name} · shader-f16: ${i.f16 ? 'yes' : 'no'}${i.soft ? ' · SOFTWARE adapter, timings are meaningless' : ''}`; status(`Pick a portrait to begin (about ${i.f16 && q.get('fp') !== '32' ? 100 : 185} MB of models, downloaded once).`, 0);}).catch((e) => { status(e.message, null, true); document.querySelectorAll('.av, #file').forEach((el) => { el.disabled = true; }); });12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Avatar Forcing WebGPU</title><meta name="description" content="Ai2-style talking head, rendered live on your own GPU: Avatar Forcing's portrait encoder and StyleGAN-style renderer in the browser. Measures whether your GPU can do 25 fps."><link rel="icon" href="data:,"><link rel="stylesheet" href="style.css"></head><body><main><p id="line"><b><a href="https://github.com/TaekyungKi/AvatarForcing" target="_blank" rel="noopener">Avatar Forcing</a></b> (KAIST, CVPR 2026) turns one portrait into a live talking head.This page runs its portrait encoder and renderer <b>on your GPU</b>, driven by a synthetic motion signal, and measures whether you reach the <b>25 fps</b> a live avatar needs.</p><section id="stage"><canvas id="view" width="512" height="512" aria-label="Rendered avatar"></canvas><div id="side"><div id="avatars" role="group" aria-label="Portraits"></div><label class="up">or your own face-centred portrait <input id="file" type="file" accept="image/*"></label><div id="row"><button id="start" type="button" disabled>Start</button><button id="pause" type="button" disabled>Pause</button><button id="bench" type="button" disabled>Benchmark</button></div><label>Motion strength <input id="amp" type="range" min="0" max="1.2" step="0.05" value="0.5"></label><label>Motion speed <input id="spd" type="range" min="0.2" max="3" step="0.1" value="1"></label><p id="fps" aria-live="off">– fps</p><p id="ms"></p><p id="verdict"></p></div></section><p id="status" role="status" aria-live="polite">Loading…</p><div id="bar"><i></i></div><p id="gpu"></p><pre id="benchout" hidden></pre><details id="more"><summary>What this is, what is missing, and credits</summary><p><b>What runs.</b> Two ONNX models from <a href="https://huggingface.co/WeReCooking/AvatarForcing-ONNX-WebGPU" target="_blank" rel="noopener">WeReCooking/AvatarForcing-ONNX-WebGPU</a>, converted from the authors' weights and checked against the original PyTorch code(renderer output matches to 1e-5 in fp32; fp16 differs by about 66 dB PSNR, below what the eye or an 8-bit screen shows). With fp16 the renderer keeps its image-warp step in fp32, which matters: a fully fp16 version breaks the picture.The portrait is encoded once; every frame is then one renderer pass fed with a fresh 20-number motion vector.</p><p><b>Not here yet.</b> The part that turns <i>speech</i> into motion (a small transformer), speech recognition, the language model and the voice. This page only shows the renderer and your GPU's speed, with made-up motion. A live avatar needs the renderer to finish a 10-frame block well inside 400 ms, with the transformer sharing the rest.</p><p><b>Needs</b> a recent Chrome or Edge with WebGPU, ideally a dedicated GPU; about 100 MB downloads once (fp16) and runs best with the page in its own tab. Frames are read back to the CPU to paint them, which costs time; a direct GPU-to-canvas path is a planned speed-up.</p><p><b>Credits and licence.</b> Model: Avatar Forcing, Taekyung Ki et al., KAIST, <a href="https://arxiv.org/abs/2601.00664" target="_blank" rel="noopener">arXiv 2601.00664</a>, weights CC BY-NC 4.0 (non-commercial, attribution), so this demo is non-commercial. Runtime: <a href="https://github.com/microsoft/onnxruntime" target="_blank" rel="noopener">onnxruntime-web</a> (MIT).Portraits: Rumi from the AvatarForcing repo (generated with Gemini); Vicky, Ken and Amber are AI-generated and not real people, from <a href="https://github.com/johnrobinsn/AvatarVoice" target="_blank" rel="noopener">johnrobinsn/AvatarVoice</a>, whose voice-chat pipeline this project is exploring in the browser.Everything runs on your device; the portrait you upload never leaves it.</p></details></main><script type="module" src="app.js"></script></body></html>
12345678910111213141516171819202122232425262728body {padding: 2rem;font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;}h1 {font-size: 16px;margin-top: 0;}p {color: rgb(107, 114, 128);font-size: 15px;margin-bottom: 10px;margin-top: 5px;}.card {max-width: 620px;margin: 0 auto;padding: 16px;border: 1px solid lightgray;border-radius: 16px;}.card p:last-child {margin-bottom: 0;}12345678910111213141516171819202122232425262728:root { --bg:#f4f2ee; --panel:#fff; --ink:#1d1c1a; --muted:#6b6760; --line:#d8d4cc; --accent:#b4441b; --accent-ink:#fff; --bad:#a3261b; --ok:#1d7a3c; color-scheme: light dark; }@media (prefers-color-scheme: dark) { :root { --bg:#151413; --panel:#1f1d1b; --ink:#ece8e1; --muted:#a29d94; --line:#3a3732; --accent:#e0703f; --accent-ink:#151413; --bad:#ff8a7a; --ok:#6fd08c; } }* { box-sizing: border-box; }html { height: 100%; overflow: hidden; }html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }body { height: 100%; overflow-y: auto; overscroll-behavior: contain; }main { display: grid; gap: 10px; padding: 10px 12px 24px; max-width: 900px; margin: 0 auto; }#line { margin: 0; font-size: 14px; color: var(--muted); } #line b { color: var(--ink); } a { color: var(--accent); }#stage { display: grid; grid-template-columns: minmax(0, 512px) minmax(220px, 1fr); gap: 14px; align-items: start; }#view { width: 100%; height: auto; aspect-ratio: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; display: block; }#side { display: grid; gap: 8px; }#avatars { display: flex; gap: 8px; flex-wrap: wrap; }.av { padding: 0; border: 2px solid var(--line); border-radius: 8px; background: none; cursor: pointer; line-height: 0; overflow: hidden; min-height: 0; }.av img { width: 64px; height: 64px; object-fit: cover; display: block; } .av.on { border-color: var(--accent); }.up { font-size: 13px; color: var(--muted); display: grid; gap: 4px; } label { font-size: 13px; color: var(--muted); display: grid; gap: 2px; }#row { display: flex; gap: 8px; flex-wrap: wrap; }button { font: inherit; font-weight: 600; min-height: 38px; padding: 0 16px; cursor: pointer; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 5px; }button:disabled { opacity: .5; cursor: default; } #pause, #bench { background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }#fps { margin: 4px 0 0; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; } #ms, #verdict { margin: 0; font-size: 13px; color: var(--muted); }#verdict.ok { color: var(--ok); } #verdict.slow { color: var(--bad); }#status { margin: 0; min-height: 1.4em; font-size: 13px; color: var(--muted); } #status.bad { color: var(--bad); }#bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: -4px; } #bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }#gpu { margin: 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }#benchout { margin: 0; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font: 12.5px/1.4 ui-monospace, Menlo, Consolas, monospace; }#more { color: var(--muted); font-size: 13px; } #more p { margin: 6px 0; } summary { cursor: pointer; }:where(button, input, summary, a):focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }@media (max-width: 640px) { #stage { grid-template-columns: 1fr; } }@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
.gitattributes+1
README.md+21-5
app.jsAdded+171
avatars/amber.jpgAdded
avatars/ken.jpgAdded
Large File Pointer Details
- SHA256: 35f1c2dff9546bbde06b021b84a875413bc50b9f81d7a9d01c473850b2378983
- Pointer size: 131 Bytes
- Size of remote file: 128 kB
avatars/rumi.jpgAdded
avatars/vicky.jpgAdded
index.html+47-17
style.css+28-28