Download index.html from ntc-ai/zipdrop: direct link, hf CLI and curl.
- Browser
- Download file 8.01 kB
-
https://huggingface.co/spaces/ntc-ai/zipdrop/resolve/main/index.html
- Command line
-
hf download hf://spaces/ntc-ai/zipdrop/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ntc-ai/zipdrop/resolve/main/index.html
8.01 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <link rel="icon" type="image/svg+xml" href="./favicon.svg" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta name="description" content="ZipDrop — neon courier demo of ParticleGAN slow→fast paired control. Race Slow vs Fast on one seed." /> | |
| <title>ZipDrop</title> | |
| <script type="module" crossorigin src="./assets/index-D5nhl6Cp.js"></script> | |
| <link rel="stylesheet" crossorigin href="./assets/index-Ct1a22Uf.css"> | |
| </head> | |
| <body> | |
| <div id="app"> | |
| <header> | |
| <div class="brand"> | |
| <span class="mark" aria-hidden="true"></span> | |
| <div> | |
| <strong>ZIPDROP</strong> | |
| <em>neon courier</em> | |
| </div> | |
| </div> | |
| <div class="seedbox"> | |
| <label for="seed">Seed</label> | |
| <input id="seed" type="number" min="1" max="9999999" value="327" inputmode="numeric" /> | |
| <button id="shuffle" type="button">Shuffle</button> | |
| </div> | |
| <div class="header-actions"> | |
| <button id="about" type="button">About</button> | |
| <button id="restart" type="button">Restart</button> | |
| <button id="menu" type="button">Menu</button> | |
| </div> | |
| </header> | |
| <main id="stage" class="stage single"> | |
| <section class="panel slow" id="panel-a"> | |
| <div class="phud"> | |
| <div> | |
| <div class="who" id="who-a">SLOW</div> | |
| <div class="sub" id="sub-a">careful corridor</div> | |
| </div> | |
| <div class="readout"> | |
| <div class="clock" id="clock-a">00:00.00</div> | |
| <div class="stepcount" id="steps-a">0 steps</div> | |
| </div> | |
| <div class="stamp flying" id="stamp-a">FLYING</div> | |
| </div> | |
| <canvas id="cv-a" aria-label="Slow courier view"></canvas> | |
| </section> | |
| <section class="panel fast" id="panel-b" hidden> | |
| <div class="phud"> | |
| <div> | |
| <div class="who" id="who-b">FAST</div> | |
| <div class="sub" id="sub-b">speed-up law</div> | |
| </div> | |
| <div class="readout"> | |
| <div class="clock" id="clock-b">00:00.00</div> | |
| <div class="stepcount" id="steps-b">0 steps</div> | |
| </div> | |
| <div class="stamp flying" id="stamp-b">FLYING</div> | |
| </div> | |
| <canvas id="cv-b" aria-label="Fast courier view"></canvas> | |
| </section> | |
| <div id="title" class="title"> | |
| <div class="card"> | |
| <p class="eyebrow">Race the laws, same seed</p> | |
| <h1>Keep the drops coming.</h1> | |
| <p class="lede"> | |
| Race Slow against Fast on one seed — that is the show. Fly it yourself with a watch AI beside you; miss and you are back in the air on the same seed. | |
| </p> | |
| <div class="cta"> | |
| <button id="race" class="primary" type="button">Race the AIs</button> | |
| <button id="play" class="ghost" type="button">Fly it</button> | |
| </div> | |
| <ul class="keys"> | |
| <li><kbd>W</kbd><kbd>↑</kbd> thrust</li> | |
| <li><kbd>A</kbd><kbd>D</kbd> strafe</li> | |
| <li><kbd>S</kbd><kbd>↓</kbd> sink</li> | |
| <li><kbd>R</kbd> restart</li> | |
| </ul> | |
| <p class="about-inline" id="about-inline"> | |
| Research demo: world model → land → go fast — | |
| <button type="button" id="about-from-title" class="linkish">About & links</button> | |
| </p> | |
| </div> | |
| </div> | |
| </main> | |
| <footer id="bar"> | |
| <p id="status-line" aria-live="polite">100 a drop. Speed bonus under 13s. A crash clears the streak.</p> | |
| <div class="tools"> | |
| <div id="match" class="match">60s or 5 drops</div> | |
| <div class="speeds" id="speeds" hidden> | |
| <button type="button" data-speed="1" class="on">1×</button> | |
| <button type="button" data-speed="2">2×</button> | |
| <button type="button" data-speed="4">4×</button> | |
| </div> | |
| </div> | |
| </footer> | |
| <div id="touch" hidden> | |
| <button type="button" data-k="left" aria-label="Strafe left">◀</button> | |
| <button type="button" data-k="down" aria-label="Sink">▼</button> | |
| <button type="button" data-k="up" aria-label="Thrust">▲</button> | |
| <button type="button" data-k="right" aria-label="Strafe right">▶</button> | |
| </div> | |
| <dialog id="about-dialog" class="about"> | |
| <form method="dialog" class="about-card"> | |
| <p class="eyebrow">Research example</p> | |
| <h2>What this demo is about</h2> | |
| <p> | |
| ZipDrop is a tiny playable sketch of a control recipe we study in | |
| <a href="https://github.com/255BITS/ParticleGAN" target="_blank" rel="noopener">ParticleGAN</a> | |
| — a PyTorch library for GANs with <em>learnable particle priors</em> | |
| (a finite set of latent vectors optimized with the generator, plus the usual relativistic / | |
| cap-regularized critic tools). You do not need the library to play this page. | |
| </p> | |
| <p> | |
| The research pipeline has three stages. This browser game only illustrates the | |
| <strong>slow vs fast</strong> race at the end. | |
| </p> | |
| <h2 class="about-h2">1. Learn a world model with GANs</h2> | |
| <p> | |
| First, train a transition model on logged simulator steps: predict state, action, and next state | |
| with generators and critics (plus a particle prior). That gives you a generative model of | |
| “what the world does,” not a policy that scores points yet. | |
| </p> | |
| <h2 class="about-h2">2. Learn something that lands</h2> | |
| <p> | |
| Freeze most of that world model. Finetune a small controller head so it copies successful | |
| expert actions (and/or a paired adversarial controller objective). Ranking is | |
| <strong>landings first</strong>. A strong result on the lander board was 50/50 successful landings | |
| after this stage — the world model alone does not “land.” | |
| </p> | |
| <h2 class="about-h2">3. Learn something that is fast</h2> | |
| <p> | |
| Keep only successful rollouts. On the <em>same</em> start (same seed), pair a careful success | |
| with a faster success. Finetune toward the faster actions with a paired adversarial step; | |
| crashes never count as “fast.” The student should cut time among successes without collapsing | |
| into crashy shortcuts. | |
| </p> | |
| <h2 class="about-h2">What you are playing</h2> | |
| <p> | |
| <strong>Race the AIs</strong> puts a careful law and a faster law on one seeded route so you can | |
| see stage 3’s tradeoff live. The pilots here are simple deterministic laws for the demo — | |
| not a live ParticleGAN train in the browser. The repo links are the real training stack. | |
| </p> | |
| <ul class="about-links"> | |
| <li><a href="https://github.com/255BITS/ParticleGAN" target="_blank" rel="noopener">ParticleGAN — code & docs</a></li> | |
| <li><a href="https://pypi.org/project/particlegan/" target="_blank" rel="noopener">particlegan on PyPI</a></li> | |
| <li><a href="https://github.com/255BITS/ParticleGAN/blob/master/docs/gym-world-model.md" target="_blank" rel="noopener">Gym world-model docs</a></li> | |
| <li><a href="https://github.com/255BITS/ParticleGAN/pull/18" target="_blank" rel="noopener">#18 — paired controller that lands</a></li> | |
| <li><a href="https://github.com/255BITS/ParticleGAN/pull/24" target="_blank" rel="noopener">#24 — slow→fast CPU gate</a></li> | |
| </ul> | |
| <button value="close" class="primary" type="submit">Close</button> | |
| </form> | |
| </dialog> | |
| </div> | |
| </body> | |
| </html> | |