webgl-shader/index.html
Christian Lawson-Perfect 61faec2e92 WebGL 2 shader
2025-05-16 06:32:13 +00:00

23 lines
No EOL
587 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>A thing made by CLP</title>
<script type="module" src="script.js"></script>
<style>
body {
margin: 0;
}
canvas {
width: 100svw;
height: 100svh;
}
</style>
</head>
<body>
<canvas id="glCanvas" width="600" height="450"></canvas>
<p><a href="https://www.khronos.org/files/webgl/webgl-reference-card-1_0.pdf">WebGL reference card</a></p>
<pre id="errors"></pre>
</body>
</html>