-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (29 loc) · 879 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Newton's Cradle</title>
</head>
<body>
<h1>Newton's Cradle</h1>
<canvas id="canvas" width="800" height="600"></canvas>
<p>
<h2>Desciptions</h2>
This is a simulation by Descrete Element Method (DEM) of Newton's Cradle.
<h3>What you can do:</h3>
Click & drag the ball or string-pin to move it, and have fun.
You can also adjust below:
</p>
<h2>Parameters</h2>
<script src="HotSoupScript/Private/ModulesLoader.js"></script>
<!-- Write your main code here -->
<script src="Src/main.js"></script>
<script src="HotSoupScript/Private/MainCaller.js"></script>
</body>
<style>
canvas {
border: 1px solid black;
}
</style>
</html>