|
@@ -11,22 +11,22 @@
|
|
|
<p>The source code of the library and the demos is available on GitHub: <a href="https://github.com/tsoding/olive.c">https://github.com/tsoding/olive.c</a></p>
|
|
|
|
|
|
<h2 id="demo-triangle"><a href="#demo-triangle">Triangle</a></h2>
|
|
|
- <p>Rainbow triangle together with a transparent circle. Source: <a href="https://github.com/tsoding/olive.c/blob/master/examples/triangle.c">examples/triangle.c</a></p>
|
|
|
+ <p>Rainbow triangle together with a transparent circle. Source: <a href="https://github.com/tsoding/olive.c/blob/master/demos/triangle.c">demos/triangle.c</a></p>
|
|
|
<canvas id="app-triangle"></canvas>
|
|
|
|
|
|
<h2 id="demo-3d"><a href="#demo-3d">3D</a></h2>
|
|
|
- <p>A bunch of 3D points projected onto your 2D screen plus a text with a builtin monospaced font. Source: <a href="https://github.com/tsoding/olive.c/blob/master/examples/3d.c">examples/3d.c</a></p>
|
|
|
+ <p>A bunch of 3D points projected onto your 2D screen plus a text with a builtin monospaced font. Source: <a href="https://github.com/tsoding/olive.c/blob/master/demos/3d.c">demos/3d.c</a></p>
|
|
|
<canvas id="app-3d"></canvas>
|
|
|
|
|
|
<h2 id="demo-squish"><a href="#demo-squish">Squish</a></h2>
|
|
|
- <p>Resizing images on the fly. Source: <a href="https://github.com/tsoding/olive.c/blob/master/examples/squish.c">examples/squish.c</a></p>
|
|
|
+ <p>Resizing images on the fly. Source: <a href="https://github.com/tsoding/olive.c/blob/master/demos/squish.c">demos/squish.c</a></p>
|
|
|
<canvas id="app-squish"></canvas>
|
|
|
|
|
|
<script src="js/vc.js"></script>
|
|
|
<script>
|
|
|
- startExample("app-triangle", "./wasm/triangle.wasm");
|
|
|
- startExample("app-3d", "./wasm/3d.wasm");
|
|
|
- startExample("app-squish", "./wasm/squish.wasm");
|
|
|
+ startDemo("app-triangle", "./wasm/triangle.wasm");
|
|
|
+ startDemo("app-3d", "./wasm/3d.wasm");
|
|
|
+ startDemo("app-squish", "./wasm/squish.wasm");
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|