mt-polygon-simplification/lib/simplify-wasm/README.md

14 lines
598 B
Markdown
Raw Permalink Normal View History

2019-08-25 15:12:55 +02:00
# Simplify.wasm
A port of Simplify.js to C. Compiled with Emscripten the library can be used on the web again.
## Important files
- `example.html`: can be served from a simple http server to test the functionality
- `index.js`: abstractions on top of Emscripten to simulate the behavior of Simplify.js
- `Makefile`: the compiler call to Emscriptens compiler `emcc`
- `simplify.c`: the C source code
- `simplify.js`: the JavaScript glue code produced by Emscripten
- `simplify.wasm`: the WebAssembly bytecode in binary representation
- `simplify.wat`: the WebAssembly code in text representation