54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Patterns</title>
|
|
<link rel="stylesheet" href="/app.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>Patterns</h1>
|
|
<p class="meta" id="meta">Connecting…</p>
|
|
|
|
<div class="corners" id="corners">
|
|
<button type="button" data-corner="front_left">Front left<small></small></button>
|
|
<button type="button" data-corner="front_right">Front right<small></small></button>
|
|
<button type="button" data-corner="back_left">Back left<small></small></button>
|
|
<button type="button" data-corner="back_right">Back right<small></small></button>
|
|
</div>
|
|
<p class="hint">Pad 13 front left, 14 front right, 9 back left, 10 back right.</p>
|
|
|
|
<label class="slider">Pan <output id="pan-out"></output>
|
|
<input id="pan" type="range" min="0" max="255" value="0">
|
|
</label>
|
|
<label class="slider">Tilt <output id="tilt-out"></output>
|
|
<input id="tilt" type="range" min="0" max="255" value="0">
|
|
</label>
|
|
<label class="slider">Rotate <output id="rot-out"></output>
|
|
<input id="rotate" type="range" min="0" max="255" value="0">
|
|
</label>
|
|
<p class="hint">Knob 7 pan, knob 8 tilt, knob 5 rotate. Focus stays at 255 so the lens can spin.</p>
|
|
|
|
<div class="modes" id="modes">
|
|
<button type="button" data-mode="hold">Hold</button>
|
|
<button type="button" data-mode="box">Box</button>
|
|
<button type="button" data-mode="cross">Cross</button>
|
|
<button type="button" data-mode="circle">Circle</button>
|
|
<button type="button" data-mode="figure8">Figure 8</button>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label>Loop
|
|
<input id="loop" type="number" min="0.4" max="60" step="0.1" value="6">
|
|
s
|
|
</label>
|
|
<button type="button" id="save">Save</button>
|
|
<span id="live"></span>
|
|
</div>
|
|
<p class="status" id="status"></p>
|
|
</main>
|
|
<script src="/app.js"></script>
|
|
</body>
|
|
</html>
|