-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
96 lines (86 loc) · 3.25 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<title>BreveJS Examples</title>
<script src="html/js/jquery.min.js"></script>
<script src="html/js/d3.v3.min.js"></script>
<script src="html/js/nv.d3.min.js"></script>
<script type="text/javascript" src="lib/breve.js"></script>
<script type="text/javascript" src="html/examples.js"></script>
<link href="html/css/nv.d3.css" rel="stylesheet" media="screen">
<link href="html/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light' rel='stylesheet' type='text/css'>
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
#chart {
height: 200px;
}
.try-it { font-family: 'Shadows Into Light', cursive; font-weight: 400; }
</style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">breve.js</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="http://kleininen.com/breve.js"><i class="icon-white icon-picture"></i> Examples</a></li>
<li><a href="http://kleininen.com/breve.js/docs"><i class="icon-white icon-play-circle"></i> Docs</a></li>
<li><a href="http://github.com/jonklein/breve.js"><i class="icon-white icon-book"></i> Source</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<h3>breve.js examples</h3>
<div class="row">
<div class="span12">
<select class="simulation-select">
</select>
<p class="description"></p>
</div>
</div>
<div class="row controls">
<div class="span4 stats">
<h4>Simulation Stats</h4>
<p>Simulation time: <span class="time-index">0.0</span></p>
<p>Frames per second: <span class="fps">0.0</span></p>
<p>Debug: <span class="console"></span></p>
</div>
<div class="span8" id="chart">
<svg></svg>
</div>
</div>
<div class="row">
<div class="span6">
<h4>Simulation</h4>
<canvas id="breve-canvas" style="width: 100%; height: 450px; border: 1px solid #000" width="500" height="500"></canvas>
<div class="x">
<h4>Configuration</h4>
<textarea id="configuration" rows="12" cols="120" wrap="off" style="width: 100%; font-size: .8em; font-family: monospace;"></textarea>
</div>
<div class="buttons">
<p>
<button class="btn btn-primary" onclick="start()">Restart</button>
</p>
</div>
</div>
<div class="span6">
<h4>Code</h4>
<textarea id="code" rows="37" cols="120" wrap="off" style="width: 100%; font-size: .8em; font-family: monospace;">
</textarea>
</div>
</div>
</div>
</body>
</html>