-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
28 lines (28 loc) · 1.99 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
<!DOCTYPE>
<html>
<head>
<title>Ball.js - Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="app-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name=viewport content="width=device-width" />
<link rel="stylesheet" type="text/css" href="./style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
<a href="https://github.com/topheman/Ball.js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<h1>Ball.js</h1>
<p>Ball.js is a Javascript class that handles <strong>physics interactions</strong> between balls (i.e. collisions) on a flat area as well as <strong>rendering</strong>.
<p>You can <strong>render in canvas mode as well as in html mode</strong>.</p>
<p>You have a bunch of display effects such as glowing, blinking, exploding (changing the radius, color, alpha) ...</p>
<p>I made an <strong>HTML5/Javascript</strong> game based on this class. You can see it in action on <a href="http://bombs.topheman.com" title="Topheman Bombs">http://bombs.topheman.com</a></p>
<p><strong>There you can try the demos :</strong></p>
<ul>
<li><a href="./demo/canvas-rendering.html">Canvas rendering mode</a></li>
<li><a href="./demo/html-rendering.html">HTML rendering mode</a></li>
</ul>
<p>This class could be used in all kinds of animations and games such as pool billard or air hockey ...</p>
<p>copyright © 2012 Christophe Rosset (<a href="http://labs.topheman.com">Topheman</a>), released under <a rel="license" href="https://github.com/topheman/Ball.js/blob/master/LICENSE">MIT License</a></p>
</body>
</html>