8354482cymmodes: linear modes of a cymsim cymbal driven in the full nonlinear model, with the energy of every mode over timeJeremy Magland 1:root { --sidebar-w: 400px; --modelist-w: 300px; --top-h: 44vh; --bars-h: 170px; --bg: #14161a; --panel: #1d2026; --border: #2c3038; --text: #e6e6e6; --muted: #9aa0a8; --accent: #e0a23a; --danger: #d9534f; --good: #6fbf73; }
2* { box-sizing: border-box; }
3html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.4 system-ui, sans-serif; }
4#app { display: grid; grid-template-columns: var(--sidebar-w) 6px 1fr; height: 100vh; }
5.splitter { background: var(--border); flex: none; }
6.splitter.vertical { width: 6px; cursor: col-resize; }
7.splitter.horizontal { height: 6px; cursor: row-resize; }
8.splitter:hover, .splitter.active { background: var(--accent); }
9#sidebar { background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
10#sidebar header { padding: 10px 12px 6px; }
11#sidebar h1 { margin: 0; font-size: 18px; display: inline; }
12.subtitle { color: var(--muted); margin-left: 8px; }
13#sidebar-scroll { flex: 1; overflow-y: auto; min-height: 0; padding-bottom: 10px; }
14#sidebar details { border-top: 1px solid var(--border); padding: 4px 12px 8px; }
15#sidebar summary { cursor: pointer; font-weight: 600; padding: 5px 0; }
16.row { display: flex; gap: 8px; align-items: center; margin: 5px 0; flex-wrap: wrap; }
17.row label { display: flex; gap: 5px; align-items: center; color: var(--muted); }
18.row select { max-width: 220px; }
19.row.buttons button { flex: 1; }
20button { background: #2a2e36; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; cursor: pointer; }
21button:hover:not(:disabled) { background: #343943; }
22button:disabled { opacity: 0.45; cursor: default; }
23button.primary { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 600; }
24select, input[type="text"], input[type="number"] { background: #111318; color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 3px 5px; }
25input[type="number"] { width: 70px; }
26progress { flex: 1; height: 10px; }
27.muted { color: var(--muted); }
28.status { color: var(--muted); font-size: 12px; white-space: pre-wrap; margin: 4px 0; }
29.status.bad { color: var(--danger); }
30.progress { height: 5px; background: #111318; border-radius: 3px; overflow: hidden; margin: 4px 0; }
31.progress > div { height: 100%; width: 0; background: var(--accent); transition: width 0.15s; }
32.log { padding: 6px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); white-space: pre-wrap; }
33.forced-only.hidden { display: none; }
35/* design panel (as in cymplay) */
36#design details.group { border: 1px solid var(--border); border-radius: 4px; margin: 4px 0; padding: 2px 8px 6px; }
37#design summary { font-weight: 600; padding: 3px 0; cursor: pointer; }
38#design .note { color: var(--muted); font-size: 11px; margin: 2px 0 4px; }
39#design .field { display: grid; grid-template-columns: 1fr 90px 64px; gap: 6px; align-items: center; margin: 2px 0; }
40#design .field label { color: var(--muted); font-size: 12px; }
41#design .field.live label::after { content: " •"; color: var(--good); }
42#design .field input[type="number"] { width: 100%; }
44main { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
45main section { min-height: 0; min-width: 0; display: flex; flex-direction: column; }
46#top-section { height: var(--top-h); flex: none; flex-direction: row; }
47#plate-section { flex: 1; }
48#modelist-section { width: var(--modelist-w); flex: none; border-left: none; }
49#modelist { flex: 1; overflow-y: auto; min-height: 0; }
50#modelist table { border-collapse: collapse; width: 100%; font-size: 12px; }
51#modelist th, #modelist td { padding: 1px 8px; text-align: right; border-bottom: 1px solid var(--border); }
52#modelist th { position: sticky; top: 0; background: var(--panel); color: var(--muted); font-weight: normal; }
53#modelist tbody tr { cursor: pointer; }
54#modelist tbody tr:hover { background: #23262d; }
55#modelist tbody tr.selected { background: #3a3320; }
56#modelist tbody tr.driven td:first-child { color: var(--good); font-weight: 600; }
57#modal-section { flex: 1; min-height: 80px; }
58#bars-section { height: var(--bars-h); flex: none; }
59.toolbar { display: flex; gap: 14px; align-items: center; padding: 4px 10px; font-weight: 600; flex: none; }
60.toolbar label { font-weight: normal; color: var(--muted); display: flex; gap: 6px; align-items: center; }
61canvas { flex: 1; width: 100%; height: 100%; display: block; min-height: 0; }
62@media (max-width: 900px) { #app { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; } #sidebar { max-height: 45vh; } .splitter.vertical { display: none; } }