forked from subprotocol/verlet-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (58 loc) · 2.45 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
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<title>Verlet-js</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen, projection" />
<link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="header">
<h1>verlet-js</h1>
<p>
<h4>About</h4>
verlet-js a simple <i>Verlet integration</i> physics engine written in javascript by <a href="http://subprotocol.com/">Sub Protocol</a>. Verlet is pronounced 'ver-ley'.
<h4>Examples</h4>
<ol>
<li><a href="examples/shapes.html">Shapes (Hello world)</a></li>
<li><a href="examples/tree.html">Fractal Trees</a></li>
<li><a href="examples/cloth.html">Cloth</a></li>
<li><a href="examples/spiderweb.html">Spiderweb</a></li>
</ol>
<h4>Features</h4>
The following is the entity hierarchy used within verlet-js:
<ul>
<li><b>Simulation:</b> Root object that holds composite entities and drives all physics and animation within a scene.</li>
<li><b>Composites:</b> A high level object used within the scene (ball, bridge, cloth, etc..)</li>
<li><b>Particles:</b> Just a point in space that responds to gravity.</li>
<li>
<b>Constraints:</b> Links particles together so they can interact with each other.
<ol>
<li><b>Pin:</b> Binds a particle to a static/fixes position in space.</li>
<li><b>Distance:</b> Binds two particles together by a fixed linear distance.</li>
<li><b>Angle:</b> Binds 3 particles to each other by an acute angle.</li>
</ol>
</li>
</ul>
<h4>License</h4>
You may use verlet-js under the terms of the very permissive MIT License.
<h4>Source Code</h4>
<a href="https://github.com/subprotocol/verlet-js">View project on GitHub</a>
</p>
</div>
<div id="footer">
Copyright 2013 Sub Protocol and other contributors.
<br/><a href="http://subprotocol.com/">http://subprotocol.com/</a>
</div>
<script>
if (window.location.host == "subprotocol.com") {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-83795-7', 'subprotocol.com');
ga('send', 'pageview');
}
</script>
</body>
</html>