-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (57 loc) · 2.11 KB
/
index.html
File metadata and controls
62 lines (57 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reference Shift Beats Mean Activation</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="app-shell">
<aside id="sidebar" class="sidebar">
<header class="panel-head">
<h1>Reference Shift Beats Mean Activation</h1>
<p class="subhead">A small reaction-diffusion style toy model showing how a shifted reference field can stabilize activation.</p>
</header>
<section class="panel-section">
<h2>Controls</h2>
<div id="control-root"></div>
</section>
<section class="panel-section">
<h2>Meters</h2>
<div id="meter-root"></div>
</section>
<section class="panel-section">
<h2>Status</h2>
<div id="status-root"></div>
</section>
</aside>
<main class="stage">
<div class="stage-stack">
<div id="panel-headings" class="panel-headings" aria-hidden="true">
<div class="panel-heading">Distributed Start (low r)</div>
<div class="panel-heading">Seeded Concentration (local high r)</div>
</div>
<div class="metrics-subtitle">Same Ā, different reference concentration</div>
<div id="metricsStrip" class="metrics-strip" aria-label="Live metrics">
<div>Ā (mean activation): --</div>
<div>C (mean reference): --</div>
<div>D(C) (effective diss): --</div>
</div>
<div class="canvas-frame">
<canvas id="sim-canvas" aria-label="Simulation grid"></canvas>
</div>
<div class="legend" aria-label="Color legend">
<div>Brightness = activation a</div>
<div>Hue: blue (US/distributed) -> red (ME/concentrated)</div>
<div>The crowd size is constant. What changes is alignment (color) and agitation (brightness).</div>
</div>
</div>
</main>
</div>
<script src="sim.js"></script>
<script src="metrics.js"></script>
<script src="ui.js"></script>
<script src="main.js"></script>
</body>
</html>