blob: 07cc7a5622ac0b9e4c298b4558b5abaafb208e3f (
plain)
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
|
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>bounds2</title>
<style>
* { margin: 0; padding: 0; }
</style>
</head>
<body>
<h1>bounds2</h1>
<canvas></canvas>
<p>particle will snap back to bound, but not go past it</p>
<script src="../request-animation-frame.js"></script>
<script src="particle.js"></script>
<script src="attractor.js"></script>
<script src="demo.js"></script>
</body>
</html>
|