webgl/views/index.ejs

24 lines
604 B
Plaintext
Raw Normal View History

2020-11-22 11:50:14 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2020-11-22 14:09:28 +00:00
<meta
name="Description"
content="Simple WebGL app to demonstrate my skills">
<title>WebGL</title>
2020-11-22 11:50:14 +00:00
<link rel="stylesheet" href="static/css/style.css">
</head>
<body>
2020-11-22 14:09:28 +00:00
<div id="root">
2020-11-23 05:38:10 +00:00
<canvas id='glCanvas' width='640' height='640'></canvas>
<div id='ui'>
<button id='button1'>Change Shader to black and white</button>
<button id='button2'>Change Shader to colored</button>
</div>
2020-11-22 14:09:28 +00:00
</div>
2020-11-22 11:50:14 +00:00
<script src="js/bundle.js"></script>
</body>
</html>