summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..91de0e3
--- /dev/null
+++ b/index.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="author" content="freya">
+ <title>minecraft</title>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ background: black;
+ }
+
+ canvas {
+ width: 100%;
+ height: 100%;
+ }
+ </style>
+ <script type="module" src="js/wgpu/wgpu.js"></script>
+ </head>
+ <body>
+ <script type="module" src="js/minecraft.js"></script>
+ </body>
+</html>