-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhandler.html
38 lines (35 loc) · 1.88 KB
/
handler.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
<!DOCTYPE html>
<html>
<head>
<title>Analog</title>
<script src="p5.min.js"></script>
</head>
<body style="padding: 0;margin: 0;overflow: hidden;">
<script type="text/javascript" src="matrix.js"></script>
<script type="text/javascript" src="vec.js"></script>
<script type="text/javascript" src="set.js"></script>
<script type="text/javascript" src="line.js"></script>
<script type="text/javascript" src="cluster.js"></script>
<script type="text/javascript" src="lss.js"></script>
<script type="text/javascript" src="equation.js"></script>
<script type="text/javascript" src="solver.js"></script>
<script type="text/javascript" src="render_func.js"></script>
<script type="text/javascript" src="render_setup.js"></script>
<script type="text/javascript" src="setup.js"></script>
<div id='ctrl'>
<button onclick="reset()" style="display: inline-block;width: 200px">Reset</button><br><br>
<i>FPS: </i><i id='FPS'>0</i>
<br><br><i>F1:</i>
<i><b>x</b>:</i><input type="int" id="f1x" value='0' style="width: 145px;">
<i style="margin-left: 28px;"><b>y</b>:</i><input type="int" id="f1y" value='0' style="width: 145px;">
<br><br><i>F2:</i>
<i><b>x</b>:</i><input type="int" id="f2x" value='0' style="width: 145px;">
<i style="margin-left: 28px;"><b>y</b>:</i><input type="int" id="f2y" value='0' style="width: 145px;">
<br><br><i>F3:</i>
<i><b>x</b>:</i><input type="int" id="f3x" value='0' style="width: 145px;">
<i style="margin-left: 28px;"><b>y</b>:</i><input type="int" id="f3y" value='0' style="width: 145px;">
<br><br>
<button onclick="applyForce()" style="display: inline-block;width: 200px">apply</button>
</div>
</body>
</html>