-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
54 lines (49 loc) · 1.74 KB
/
index.html
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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>sonic circuit studio</title>
<style>
body {
font-family: sans-serif;
}
</style>
<script src="lib/p5.min.js"></script>
<script src="lib/addons/p5.sound.js"></script>
<!-- <script src="../addons/p5.sound.js"></script> -->
<script src="sketch.js"></script>
</head>
<body>
<div style="display: flex; flex-direction: row; flex-wrap: wrap;">
<main>
</main>
<div style="padding: 20px">
<h2>Controls</h2>
<p>Warning: not user friendly.</p>
<ul>
<li><strong>Command + click:</strong> add new node</li>
<li><strong>Command + drag:</strong> add edge between nodes</li>
<li><strong>Double click:</strong> trigger a signal on a node</li>
<li><strong>Click + drag:</strong> move node</li>
<li><strong>Option + drag up/down:</strong> change node note</li>
<li><strong>~ + drag:</strong> change node mode</li>
<li><strong>Click + delete:</strong> remove node</li>
</ul>
<h2>Modes of nodes</h2>
<ul>
<li><strong>multicast:</strong> broadcasts out to all edges simultaneously</li>
<li><strong>round-robin:</strong> broadcasts out to each edge in turn</li>
<li><strong>random:</strong> not yet implemented but you can see where this is going</li>
</ul>
<h2>Sharing</h2>
<p>Copy and paste the URL. It includes the complete state of your circuit.</p>
<h2>About</h2>
<p>
By <a href="https://alex.miller.garden/">Alex Miller</a>. <a
href="https://github.com/alexdmiller/sonic-circuit">Code on GitHub.</a>
</p>
</div>
</div>
</body>
</html>