Verzeichnis tex-archive/graphics/asymptote/tinyexr/experimental/js
README.md
Experimental JavaScript port of TinyEXR
Using Emscripten.
How to compile
edit compile_to_js.sh
, then
./compile_to_js.sh
How to run test
Requires node.js
$ node test.js
How to run a browser example
Edit EXR file in index.html
Copy a EXR file to this directory(default = asakusa.exr). (NOTE: Chrome does not allow reading a file from parent path(e.g. ../../asakusa.exr
).
Launch http server, e.g.,
$ python3 -m http.server
Open http://localhost:8000
with an browser.
TODO
- x Write HTML5 Canvas drawing JS code from Float32Array(
- Pollish JS API.
Dateien
Name | Größe | Datum | Anmerkung |
---|---|---|---|
Makefile | 25 | 2025-07-03 22:47 | |
README_md | 612 | 2025-07-03 22:47 | |
binding_cc | 1955 | 2025-07-03 22:47 | |
compile_to_js_sh | 592 | 2025-07-03 22:47 | |
index_html | 1131 | 2025-07-03 22:47 | |
test_js | 398 | 2025-07-03 22:47 | |
tinyexr_js | 60545 | 2025-07-03 22:47 |