summaryrefslogtreecommitdiffstats
path: root/Build/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'Build/index.html')
-rw-r--r--Build/index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/Build/index.html b/Build/index.html
new file mode 100644
index 0000000..a91652f
--- /dev/null
+++ b/Build/index.html
@@ -0,0 +1,54 @@
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ </head>
+ <body>
+ <pre>
+ Koh fractal. Version: 0.3
+ </pre>
+ <script type='text/javascript'>
+ var Module = {};
+ fetch('index.wasm')
+ .then(response =>
+ response.arrayBuffer()
+ ).then(buffer => {
+ Module.canvas = document.getElementById("canvas");
+ Module.wasmBinary = buffer;
+ var script = document.createElement('script');
+ script.src = "index.js";
+ script.onload = function() {
+ console.log("Emscripten boilerplate loaded.")
+ }
+ document.body.appendChild(script);
+ });
+ </script>
+ <div align="center">
+ <canvas id="canvas" ></canvas>
+ </div>
+
+ <pre>
+ To save right click and "Save image as ..."
+ Supported keys:
+ left,right,up,down - change position by 10 pixels
+ r - reset the configuration
+ '-' - decrease amount of levels
+ '=' - increase amount of levels
+ q - previous color pattern
+ w - next color pattern
+ a - decrease size
+ s - increase size
+ </pre>
+
+ <pre>
+ Changelog:
+ v0.3 -
+ fixed help -> increase button set to '='
+ v0.2 -
+ fixed increase size bug, when fractal become as point
+ color pattern bug when go to next color
+ v0.1 - initial release
+ </pre>
+
+ </body>
+</html> \ No newline at end of file