This commit is contained in:
2026-05-02 16:40:21 +10:00
parent 8d01ea4a3c
commit 1a4c33b9dc
23 changed files with 3725 additions and 401 deletions

52
ui/index.html Normal file
View File

@@ -0,0 +1,52 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Video Shader Host</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<main class="layout">
<section class="toolbar">
<div class="toolbar__group">
<label for="shader-select">Shader</label>
<select id="shader-select"></select>
</div>
<div class="toolbar__group toolbar__group--wide">
<label for="mix-slider">Mix</label>
<input id="mix-slider" type="range" min="0" max="1" step="0.01">
</div>
<label class="toggle">
<input id="bypass-toggle" type="checkbox">
<span>Bypass</span>
</label>
<button id="reload-button" type="button">Reload Shader</button>
</section>
<section class="status-grid">
<div class="panel">
<h2>Runtime</h2>
<dl id="runtime-status" class="kv"></dl>
</div>
<div class="panel">
<h2>Video</h2>
<dl id="video-status" class="kv"></dl>
</div>
<div class="panel panel--full">
<h2>Compiler</h2>
<pre id="compile-status"></pre>
</div>
</section>
<section class="panel">
<div class="panel__header">
<h2>Parameters</h2>
</div>
<form id="parameter-form" class="parameter-grid"></form>
</section>
</main>
<script src="/app.js"></script>
</body>
</html>