summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2020-11-24 20:01:30 +0000
committerZoRo <dos21h@gmail.com>2020-11-24 20:01:30 +0000
commit1c5bd982ab37b161410be55eaa401e4686d16351 (patch)
tree4c90edbc0f3953999a7594b83a6876d811937704 /index.html
parente41ad7adc31c26dfa8a9c31b6b16bda46f9b85a7 (diff)
downloadwasm_fractal-1c5bd982ab37b161410be55eaa401e4686d16351.tar.gz
wasm_fractal-1c5bd982ab37b161410be55eaa401e4686d16351.zip
Updated version that looks like works. EMCC loop works ok now
Diffstat (limited to 'index.html')
-rw-r--r--index.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/index.html b/index.html
index 94606af..5499fd9 100644
--- a/index.html
+++ b/index.html
@@ -4,6 +4,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
+ <pre>
+ Koh fractal. Version: 0.1
+ </pre>
<script type='text/javascript'>
var Module = {};
fetch('index.wasm')
@@ -20,7 +23,21 @@
document.body.appendChild(script);
});
</script>
- <canvas id="canvas"></canvas>
+ <div align="center">
+ <canvas id="canvas" ></canvas>
+ </div>
+
+ <pre>
+ 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>
</body>
</html> \ No newline at end of file