-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (40 loc) · 841 Bytes
/
Copy pathindex.html
File metadata and controls
40 lines (40 loc) · 841 Bytes
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
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script>
<script src="https://unpkg.com/p5.js-svg"></script>
<style>
#container {
position: relative;
width: 800px;
margin: 20px auto;
}
#controls {
position: fixed;
left: 20px;
top: 20px;
background: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
z-index: 100;
max-width: 300px;
max-height: 90vh;
overflow-y: auto;
}
.control-group {
margin: 10px 0;
}
canvas {
margin: 20px;
}
</style>
</head>
<body>
<div id="container">
<div id="controls"></div>
<div id="canvas-container"></div>
</div>
<script src="single_cell_controls.js"></script>
</body>
</html>