forked from callahad/spinning-cube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
22 lines (17 loc) · 944 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html>
<head>
<title>WebAssembly Spinning Cube Demo</title>
</head>
<body>
<h1>WebAssembly Spinning Cube Demo</h1>
<p>
This demonstrates cross-compilation of unmodified, native C++ with OpenGL to the Web with <a href="http://emscripten.org">Emscripten</a>.
The <a href="https://github.com/diwanshi/spinning-cube/blob/master/Cube.c">original source code</a>
is by <a href="http://www.lousodrome.net/opengl/#spinningcube">Julien Guertault</a>.
Thanks to Emscripten and WebAssembly, <em>the Web is just another compiler target.</em>
<p>View <a href="https://github.com/diwanshi/spinning-cube">the repository</a> on GitHub.
<p>Click <a href="./build/webassembly.html">here</a> to view the demo in your browser.
<p>(You can also see the <a href="https://github.com/diwanshi/spinning-cube/blob/master/Makefile">Makefile</a> used to compiler this example)
</body>
</html>