-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
52 lines (50 loc) · 1.68 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>The XY Model</title>
<link rel="stylesheet" type="text/css" href="jquery-ui.css" />
<script type="text/javascript" src="raphael.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery-ui.js"></script>
<style type="text/css">
section {
float: left;
width: 740px;
}
aside {
}
</style>
</head>
<body>
<h1 id='voronoi_diagram'>The XY Model</h1>
<div id="simulation">
<section>
FPS: <span id="fps"></span><br/>
<canvas id="grid">
This text is displayed if your browser does not support HTML5 Canvas.
</canvas>
</section>
<aside>
Reset with: <button id="reset_random">Random</button><button id="reset_vortex">Lonely Vortex</button><button id="reset_vortexbuddies">Vortex Buddies</button><br/>
<table>
<tr><td>Wrapping: </td>
<td><input type="radio" name="wrap" value="none" checked="checked">None</input>
<input type="radio" name="wrap" value="tor">Torus</input>
<input type="radio" name="wrap" value="pro">Projective Plane</input>
</td>
<tr><td>Temperature: </td>
<td><div id="temp" style="width:300px"></div></td>
<td><span id="fbtemp"></span></td></tr>
<tr><td>External Field: </td>
<td><div id="extb"></div></td>
<td><span id="fbextb"></span></td></tr>
<tr><td>Interaction Strength: </td>
<td><div id="intstr"></div></td>
<td><span id="fbintstr"></span></td></tr>
</table>
</aside>
</div>
<script src='xy.js' type='text/javascript'> </script>
</body>
</html>