Add the miniquad script locally

This commit is contained in:
Ember 2021-12-17 22:28:14 -05:00
parent d1d785b41e
commit f1ddad807c
No known key found for this signature in database
GPG Key ID: D84A93D6860F93FD
4 changed files with 7 additions and 2 deletions

1
.gitattributes vendored
View File

@ -3,3 +3,4 @@
*.woff filter=lfs diff=lfs merge=lfs -text
*.woff2 filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
static/miniquad.js filter=lfs diff=lfs merge=lfs -text

View File

@ -19,7 +19,8 @@
<body>
<div>
<canvas id="glcanvas" tabindex='1'></canvas>
<script src="https://not-fl3.github.io/miniquad-samples/gl.js"></script>
<!-- Downloaded from https://not-fl3.github.io/miniquad-samples/gl.js -->
<script src="{{ site.base_url }}/static/miniquad.js"></script>
<script>load("{{ site.base_url }}/static/glow.wasm");</script>
</div>
<header>

View File

@ -40,7 +40,7 @@ canvas {
position: absolute;
top: 0;
left: 0;
width: 100vw;
width: 100%;
height: calc(100vh + 200px);
z-index: -1;
}

BIN
static/miniquad.js (Stored with Git LFS) Normal file

Binary file not shown.