-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
234 lines (213 loc) · 8.55 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>JS Mini Games & Demos</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Javascript Mini-games</h1>
<p>These are some small game prototypes, demos and tools, written to practice pure Javascript and learn to
render graphics using HTML canvas element and WebGL.</p>
<p>Since they are <em>quick'n dirty</em> projects, they are not particularly good examples of best programming
practices, but some can be quite fun with a little tweaking and I might decide to refactor them into more
structured projects</p>
<h2>Game Prototypes</h2>
<div class="row">
<div>
<div class="imgwrap">
<a href="tic_tac_toe/index.html"><img src="thumbs/tic_tac_toe.png" alt="tic"></a>
</div>
<h4>Tic Tac Toe</h4>
</div>
<div>
<div class="imgwrap">
<a href="pong_ai/index.html"><img src="thumbs/pong_ai.png" alt="pong_ai"></a>
</div>
<h4>Pong ai</h4>
</div>
<div>
<div class="imgwrap">
<a href="snake/index.html"><img src="thumbs/snake.png" alt="snake"></a>
</div>
<h4>Snake</h4>
</div>
<div>
<div class="imgwrap">
<a href="platformer/index.html"><img src="thumbs/platformer.png" alt="platformer"></a>
</div>
<h4>Platformer</h4>
</div>
<div>
<div class="imgwrap">
<a href="minesweeper/index.html"><img src="thumbs/minesweeper.png" alt="minesweeper"></a>
</div>
<h4>Minesweeper</h4>
</div>
<div>
<div class="imgwrap">
<a href="space_shooter/index.html"><img src="thumbs/space_shooter.png" alt="space_shooter"></a>
</div>
<h4>Space shooter</h4>
</div>
<div>
<div class="imgwrap">
<a href="paratroopers/index.html"><img src="thumbs/paratroopers.png" alt="paratroopers"></a>
</div>
<h4>Paratroopers</h4>
</div>
</div>
<h2>Tools</h2>
<div class="row">
<div>
<div class="imgwrap">
<a href="key_code/index.html"><img src="thumbs/key_code.png" alt="key_code"></a>
</div>
<h4>Keycode</h4>
</div>
<div>
<div class="imgwrap">
<a href="color_gradient/index.html"><img src="thumbs/color_gradient.png" alt="color_gradient"></a>
</div>
<h4>Color gradient</h4>
</div>
</div>
<h2>2D Canvas Demos</h2>
<div class="row">
<div>
<div class="imgwrap">
<a href="bouncing_balls/index.html"><img src="thumbs/bouncing_balls.png" alt="bouncing_balls"></a>
</div>
<h4>Bouncing balls</h4>
</div>
<div>
<div class="imgwrap">
<a href="bouncing_particles/index.html"><img src="thumbs/bouncing_particles.png" alt="bouncing_particles"></a>
</div>
<h4>Bouncing particles</h4>
</div>
<div>
<div class="imgwrap">
<a href="easing_demo/index.html"><img src="thumbs/easing_demo.png" alt="easing_demo"></a>
</div>
<h4>Easing demo</h4>
</div>
<div>
<div class="imgwrap">
<a href="fireworks/index.html"><img src="thumbs/fireworks.png" alt="fireworks"></a>
</div>
<h4>Fireworks</h4>
</div>
<div>
<div class="imgwrap">
<a href="starfield/index.html"><img src="thumbs/starfield.png" alt="starfield"></a>
</div>
<h4>Starfield</h4>
</div>
<div>
<div class="imgwrap">
<a href="flying_squares/index.html"><img src="thumbs/flying_squares.png" alt="flying_squares"></a>
</div>
<h4>Flying squares</h4>
</div>
<div>
<div class="imgwrap">
<a href="mystify/index.html"><img src="thumbs/mystify.png" alt="mystify"></a>
</div>
<h4>Mystify</h4>
</div>
<div>
<div class="imgwrap">
<a href="random_rects/index.html"><img src="thumbs/random_rects.png" alt="random_rects"></a>
</div>
<h4>Random rects</h4>
</div>
<div>
<div class="imgwrap">
<a href="starwars_opening/index.html"><img src="thumbs/starwars_opening.png" alt="starwars_opening"></a>
</div>
<h4>Star Wars opening</h4>
</div>
<div>
<div class="imgwrap">
<a href="texture_rotation/index.html"><img src="thumbs/texture_rotation.png" alt="texture_rotation"></a>
</div>
<h4>Texture rotation 1</h4>
</div>
<div>
<div class="imgwrap">
<a href="texture_rotation_perspective/index.html"><img src="thumbs/texture_rotation_perspective.png"
alt="texture_rotation_perspective"></a>
</div>
<h4>Texture rotation 2</h4>
</div>
</div>
<h2>WebGL Demos</h2>
<div class="row">
<div>
<div class="imgwrap">
<a href="webgl_colored_cube/index.html"><img src="thumbs/webgl_colored_cube.png" alt="webgl_colored_cube"></a>
</div>
<h4>Colored cube</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_light_model_1/index.html"><img src="thumbs/webgl_light_model_1.png"
alt="webgl_light_model_1"></a>
</div>
<h4>Light model 1</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_light_model_2/index.html"><img src="thumbs/webgl_light_model_2.png"
alt="webgl_light_model_2"></a>
</div>
<h4>Light model 2</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_test/index.html"><img src="thumbs/webgl_test.png" alt="webgl_test"></a>
</div>
<h4>WegGL Test</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_textured_cube_1/index.html"><img src="thumbs/webgl_textured_cube_1.png"
alt="webgl_textured_cube_1"></a>
</div>
<h4>Textured cube 1</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_textured_cube_2/index.html"><img src="thumbs/webgl_textured_cube_2.png"
alt="webgl_textured_cube_2"></a>
</div>
<h4>Textured cube 2</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_textured_cube_mix/index.html"><img src="thumbs/webgl_textured_cube_mix.png"
alt="webgl_textured_cube_mix"></a>
</div>
<h4>Textured cube mix</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_textured_model/index.html"><img src="thumbs/webgl_textured_model.png"
alt="webgl_textured_model"></a>
</div>
<h4>Textured model</h4>
</div>
<div>
<div class="imgwrap">
<a href="webgl_triangles/index.html"><img src="thumbs/webgl_triangles.png" alt="webgl_triangles"></a>
</div>
<h4>Triangles</h4>
</div>
</div>
</div>
</body>
</html>