Add the miniquad script locally
This commit is contained in:
parent
d1d785b41e
commit
f1ddad807c
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
BIN
static/miniquad.js
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in a new issue