Vision-JEV-128M / web /table3d.html
topabaem's picture
Vision · Decisions API: light theme, ShoreCrab banner, typed questions, new samples, no-overlap table; RTS removed
cc231dc verified
Raw History Blame Contribute Delete
2.9 kB
<div class="t3-wrap">
<div>
<div class="t3-intro"><b>Arrange the table, then ask.</b> Drag objects with the mouse (they cannot overlap), pick a prompt or write your own, and the model judges exactly the frame you see.</div>
<div class="t3-stage"><div class="t3-canvas"></div>
<div class="t3-hint"><span>Drag</span> move object <span>Right-drag / Shift</span> orbit <span>Wheel</span> zoom</div></div>
<div class="t3-tools">
<button class="vj-ui-btn" data-act="shuffle">Shuffle objects</button>
<button class="vj-ui-btn" data-act="reset">Reset layout</button>
<label class="t3-check"><input type="checkbox" class="t3-show" checked> Show the frame sent to the model</label>
</div>
</div>
<div class="t3-side">
<span class="vj-lbl">Prompt ideas</span>
<div class="t3-chips"></div>
<span class="vj-lbl">Question</span>
<input class="vj-field t3-q" type="text" placeholder="Is the red cube to the left of the blue cube?">
<span class="vj-lbl">Choices · one per line</span>
<textarea class="vj-field t3-c" rows="4" placeholder="yes&#10;no"></textarea>
<div style="height:12px"></div>
<button class="vj-cta t3-judge">Judge this scene</button>
<img class="t3-snap" alt="">
<div class="t3-out"><div class="vj-empty"><div class="vj-empty-t">No judgement yet</div>Move a few objects, choose a prompt and press <b>Judge this scene</b>.</div></div>
</div>
</div>
<style>
.t3-wrap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;margin-top:6px}
@media (max-width:900px){.t3-wrap{grid-template-columns:1fr}}
.t3-intro{color:#38425a;font-size:14.5px;margin:0 0 12px;line-height:1.55}
.t3-intro b{color:#14213d}
.t3-stage{position:relative;border-radius:16px;overflow:hidden;border:1px solid #e8e3d8;background:#ece8e1}
.t3-canvas{width:100%;aspect-ratio:16/10;touch-action:none}
.t3-canvas canvas{display:block;width:100%!important;height:100%!important}
.t3-hint{position:absolute;left:12px;bottom:10px;font-size:12px;color:#38425a;background:rgba(255,255,255,.86);backdrop-filter:blur(6px);padding:6px 10px;border-radius:9px}
.t3-hint span{font-family:'JetBrains Mono',monospace;color:#c4532d;margin:0 4px 0 8px}
.t3-hint span:first-child{margin-left:0}
.t3-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.t3-check{font-size:13px;color:#6b7385;margin-left:4px}
.t3-side{padding:16px 18px;border-radius:16px;border:1px solid #e8e3d8;background:#fbf8f1}
.t3-side .vj-lbl:first-child{margin-top:0}
.t3-chips{display:flex;flex-wrap:wrap;gap:6px}
.t3-chip{all:unset;cursor:pointer;font-size:12.5px;color:#14213d;padding:6px 10px;border-radius:999px;border:1px solid #ddd6c8;background:#fff}
.t3-chip:hover{border-color:#c4532d;color:#c4532d}
.t3-snap{display:none;width:100%;border-radius:10px;margin:12px 0 0;border:1px solid #e8e3d8}
.t3-out{margin-top:12px}
</style>