69 lines
1.9 KiB
HTML
69 lines
1.9 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
|
|
<title>Face Control</title>
|
|
<link rel="stylesheet" href="/control/control.css" />
|
|
</head>
|
|
<body>
|
|
<main class="page">
|
|
<header class="top">
|
|
<h1>Face Control</h1>
|
|
<div class="row">
|
|
<span class="pill">Status: <strong id="conn">?</strong></span>
|
|
<span class="pill">Aktuell: <strong id="current">neutral</strong></span>
|
|
</div>
|
|
</header>
|
|
|
|
<section class="card">
|
|
<h2>Emotion</h2>
|
|
<div class="grid" id="emotionGrid"></div>
|
|
</section>
|
|
|
|
<section class="card">
|
|
<h2>Parameter</h2>
|
|
|
|
<div class="controls">
|
|
<label class="toggle">
|
|
<input id="speaking" type="checkbox" />
|
|
<span>🗣️ Sprechen</span>
|
|
</label>
|
|
|
|
<label class="toggle">
|
|
<input id="eyesMoving" type="checkbox" checked />
|
|
<span>👀 Augen bewegen</span>
|
|
</label>
|
|
|
|
<label class="slider">
|
|
<span>Intensity</span>
|
|
<input id="intensity" type="range" min="0" max="1" step="0.01" value="0.85" />
|
|
<output id="intensityVal">0.85</output>
|
|
</label>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="card">
|
|
<h2>Look</h2>
|
|
<p class="muted">Zieh im Feld: links/rechts/oben/unten. Doppeltipp = zentrieren.</p>
|
|
<div class="lookpad" id="lookpad">
|
|
<div class="cross"></div>
|
|
<div class="dot" id="lookdot"></div>
|
|
</div>
|
|
<div class="row">
|
|
<button class="btn" id="center">Center</button>
|
|
<button class="btn" id="stareOff">Stare OFF</button>
|
|
</div>
|
|
</section>
|
|
|
|
<footer class="foot">
|
|
<a class="link" href="/">← Face</a>
|
|
<a class="link" href="/drive">Drive →</a>
|
|
</footer>
|
|
</main>
|
|
|
|
<script src="/control/control.js"></script>
|
|
</body>
|
|
</html>
|
|
|