diff options
author | ZoRo <dos21h@gmail.com> | 2020-11-24 20:01:30 +0000 |
---|---|---|
committer | ZoRo <dos21h@gmail.com> | 2020-11-24 20:01:30 +0000 |
commit | 1c5bd982ab37b161410be55eaa401e4686d16351 (patch) | |
tree | 4c90edbc0f3953999a7594b83a6876d811937704 /index.html | |
parent | e41ad7adc31c26dfa8a9c31b6b16bda46f9b85a7 (diff) | |
download | wasm_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.html | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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 |