command
Version:
v1.0.32
Opens a new window with list of versions in this module.
Published: Nov 20, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go WASM Experiments
This was modified from hexy
example in
Go WASM Experiments
TODO
- Align external signatures
- Integrate into webpack loader
optimizations:
- cache
ctx.getImageData.data
- function inlining
- Sine/Cosine Lookup
Rendering times (ms
at 400px/400px
):
|
Chrome |
Firefox |
No Opt |
28.5 |
15.7 |
cache getImageData |
27.5 |
15.6 |
function inlining |
21.7 |
12.4 |
Cos lookup |
11.3 |
9.3 |
Usage
./build.sh
npx serve -p 6543
open http://localhost:6543/
References
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.