Spaces:
Running on Zero

File size: 3,220 Bytes
c8f167d
c4ac8d1
 
 
 
c8f167d
c4ac8d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8f167d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<div class="da">
  <header class="da-top">
    <div class="da-brand">
      <h1 class="da-title">GPWM Simulation</h1>
      <p class="da-sub">Drop and drag objects made from photos. A generative particle world model predicts the next 2 seconds.</p>
    </div>
    <div class="da-how">
      <ol class="da-steps" aria-label="How to use it">
        <li><span class="da-num">1</span>Pick an object</li>
        <li><span class="da-num">2</span>Click the table to drop it</li>
        <li><span class="da-num">3</span>Press Run</li>
      </ol>
      <p class="da-alt">Drag an object on the table to pull it.</p>
    </div>
  </header>
  <div class="da-main">
    <div class="da-stage">
      <canvas class="da-canvas" aria-label="A table where objects made from photos are dropped and dragged; a learned particle world model predicts what they do"></canvas>
      <div class="da-pill da-status" hidden></div>
      <div class="da-pill da-busy" hidden><span class="da-spin" aria-hidden="true"></span><span class="da-busy-text">Predicting 2 s…</span></div>
      <div class="da-pill da-keys">Drag the background to turn · Scroll to zoom</div>
      <div class="da-hint">Loading the 3D view…</div>
    </div>
    <aside class="da-panel">
      <section class="da-card da-runcard">
        <div class="da-runrow">
          <button class="da-btn da-primary da-run" type="button" disabled><svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 1.6v8.8L10.4 6z" fill="currentColor"/></svg>Run 2 s</button>
          <button class="da-btn da-replay" type="button" disabled>Replay</button>
        </div>
        <div class="da-pendrow"><span class="da-pending">Nothing waiting.</span><button class="da-link da-clearp" type="button" hidden>Clear</button></div>
        <div class="da-row da-more">
          <button class="da-btn da-rain" type="button">Drop 5 random</button>
          <button class="da-btn da-reset" type="button">Clear table</button>
          <button class="da-btn da-check" type="button" hidden>Check the model</button>
        </div>
      </section>
      <section class="da-card da-sel" hidden>
        <h2 class="da-sel-title"></h2>
        <div class="da-field"><span class="da-label">Material</span><div class="da-row da-mats"></div></div>
        <div class="da-field"><span class="da-label">Stiffness</span><div class="da-row da-stiff"></div></div>
        <label class="da-field da-height"><span class="da-label">Height</span><input class="da-h" type="range" min="8" max="60" value="30"><span class="da-htext">30 cm</span></label>
        <div class="da-row da-sel-actions"></div>
        <div class="da-note da-sel-note"></div>
      </section>
      <section class="da-card da-shelf">
        <div class="da-shelf-head"><h2>Objects from photos</h2><span class="da-count"></span></div>
        <input class="da-search" type="search" placeholder="Search: ball, jelly, sand, dough…" aria-label="Search the objects">
        <div class="da-row da-filters" role="group" aria-label="Show one material"></div>
        <div class="da-grid" role="listbox" aria-label="Objects"><div class="da-empty">Loading objects…</div></div>
      </section>
    </aside>
  </div>
</div>