blob: a5ac225a5cbc91ca51abc86e5dc8b610c0ad4ba2 (
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
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="/scripts/jquery-3.5.1.min.js"></script>
<script src="/index.js"></script>
<script src="intro.js"></script>
<script src="dist/output.js"></script>
<link rel="stylesheet" href="/index.css">
<link rel="shortcut icon" href="/favicon/favicon.ico" type="image/x-icon">
<title>Physics for Games</title>
</head>
<body>
<header>
<h1>Physics for Games</h1>
</header>
<main>
<nav>
</nav>
<section>
<h1>Getting Started with WebAssembly</h1>
<article>
<h2>Why does the browser exist?</h2>
<p>
Before we can get started trying to understand just what WebAssembly has to offer, let's ask ourselves a quick question: Why does the browser even exist in the first place, and what type of problem are we trying to tackle in the browser?
</p>
</article>
<article>
<h2>WASM: What and why</h2>
<p>
In my professional career, I've spent far too much time writing complicated frontend applications for the browser. This being the modern web, my hand was forced into using JavaScript.
</p>
</article>
<article>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<div class="opengl_canvas_container">
<canvas id="wasm_canvas"width="800" height="600"></canvas>
<div class="opengl_canvas_sidebar">
</div>
<button class="play_button" id="wasm_canvas_play_button">
Play
</button>
<button class="stop_button" id="wasm_canvas_stop_button">
Stop
</button>
</div>
</article>
</section>
</main>
</body>
</html>
|