-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
31 lines (31 loc) · 1.12 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css">
<script src="https://cdn.jsdelivr.net/npm/p5@1.0.0/lib/p5.js"></script>
<title>Pendulum</title>
</head>
<body>
<div id="container" style="margin: 20 20;">
<div id="align">
<h1>Double Pendulum</h1>
<div id="sketch"></div>
<div id="sliders">
<label for="l1">L1</label>
<input id="l1" type="range" name="l1" min="70" max="200" value="140">
<br>
<label for="l2">L2</label>
<input id="l2" type="range" name="l1" min="70" max="200" value="130">
<br>
<label for="m1">M1</label>
<input id="m1" type="range" name="l1" min="10" max="60" value="30">
<br>
<label for="m2">M2</label>
<input id="m2" type="range" name="l1" min="10" max="60" value="30">
</div>
</div>
</div>
<script src="sketch.js"></script>
</body>
</html>