summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-04-26 21:13:55 -0400
committerJules Laplace <jules@okfoc.us>2017-04-26 21:13:55 -0400
commita356074dd17029ada978381ca005684a3533102e (patch)
tree43925d492e6dff19a853b4859ed13b093bc8b61c /index.html
cells..
Diffstat (limited to 'index.html')
-rw-r--r--index.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..e99d2c6
--- /dev/null
+++ b/index.html
@@ -0,0 +1,44 @@
+<html>
+<head>
+<title>cells</title>
+<style>
+body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ color: white;
+ text-shadow: 0 0 1px #000;
+ transition: background-color 100ms;
+ user-select: none;
+ overflow: hidden;
+ background-image: url(http://i.asdf.us/im/84/imBreak_1340193016_tumblr_m5vynpMYYg1qiluqao1_500_.png);
+ background-position: top right;
+ background-repeat: no-repeat;
+}
+div {
+ display: inline-block;
+}
+</style>
+</head>
+<body>
+<div>
+ <canvas nx="matrix" id="grid"></canvas>
+</div>
+<div>
+ <canvas nx="button" label="shift &uarr;" id="shiftUp"></canvas>
+ <canvas nx="button" label="shift &darr;" id="shiftDown"></canvas>
+ <canvas nx="button" label="slide &uarr;" id="slideUp"></canvas>
+ <canvas nx="button" label="slide &darr;" id="slideDown"></canvas>
+ <br>
+ <canvas nx="button" label="rotate &uarr;" id="rotateUp"></canvas>
+ <canvas nx="button" label="rotate &darr;" id="rotateDown"></canvas>
+ <canvas nx="button" label="rotate &larr;" id="rotateLeft"></canvas>
+ <canvas nx="button" label="rotate &rarr;" id="rotateRight"></canvas>
+ <canvas nx="button" label="flip &varr;" id="flip"></canvas>
+ <canvas nx="button" label="flop &harr;" id="flop"></canvas>
+</div>
+</body>
+<script>
+ var s = document.createElement('script');
+ s.setAttribute('src','bundle.js?' + Date.now());
+ document.body.appendChild(s)
+</script>
+</html>