-
Notifications
You must be signed in to change notification settings - Fork 7
/
examples.html
141 lines (133 loc) · 5 KB
/
examples.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!doctype html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8" />
<title>Hyperbolic Canvas</title>
<meta
name="description"
content="The Poincaré disk model of the hyperbolic plane, in Javascript"
/>
<meta name="author" content="Nick Barry" />
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="backdrop" content="width=device-width, initial-scale=1" />
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link
href="//fonts.googleapis.com/css?family=Raleway:400,300,600"
rel="stylesheet"
type="text/css"
/>
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/skeleton.css" />
<link rel="stylesheet" href="css/hyperbolic-canvas.css" />
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/favicon.png" />
</head>
<body>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container">
<div class="row">
<nav>
<div class="nav-button three columns">
<a href="index.html">Home</a>
</div>
<div class="nav-button three columns">
<a href="about.html">About</a>
</div>
<div class="nav-button three columns">
<a href="documentation.html">Documentation</a>
</div>
<div class="nav-button three columns">
<a href="examples.html">Examples</a>
</div>
</nav>
</div>
<div class="row">
<div class="content">
<h1>Examples</h1>
<div
class="example"
onclick="location='example.html?script=laser-spaceship'"
>
<h4>Laser Spaceship</h4>
<p>
<a href="#"
>Fly your spaceship with the W, A, S, and D keys, and launch
torpedos with the space bar.</a
>
</p>
</div>
<div
class="example"
onclick="location='example.html?script=hexagons'"
>
<h4>Hexagons</h4>
<p>
<a href="#"
>Allow a group of regular, congruent hexagons to dazzle you with
their spinning.</a
>
</p>
</div>
<div
class="example"
onclick="location='example.html?script=hand-drawn-polygon'"
>
<h4>Hand-Drawn Polygon</h4>
<p>
<a href="#">Click to draw your own hyperbolic polygon.</a>
</p>
</div>
<div
class="example"
onclick="location='example.html?script=mouse-interaction'"
>
<h4>Mouse Interaction</h4>
<p>
<a href="#"
>Move your mouse and click on the canvas to exert power over
your polygons.</a
>
</p>
</div>
<div
class="example"
onclick="location='example.html?script=concentric-circles'"
>
<h4>Concentric Circles</h4>
<p>
<a href="#">Hyperbolic circles look like circles.</a>
</p>
</div>
<h1>Bad Examples</h1>
<div class="example" onclick="location='example.html?script=comets'">
<h4>Very Bad Comets</h4>
<p>
<a href="#">It's not that bad any more. Point and click.</a>
</p>
</div>
<div class="example" onclick="location='example.html?script=web'">
<h4>Annoying Web</h4>
<p>
<a href="#"
>Ill-conditioned functions and floating point rounding
errors.</a
>
</p>
</div>
</div>
</div>
</div>
<!-- Scripts
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>