Javascript#

  • Install emscripten from here

  • run make. This creates the following files:

    • dist/fsdof.wasm - Web assembly - compiled library,

    • dist/fsdof.js - interface to binary fsdof.wasm

  • to test, you can use Python to start an HTTP server in the current directory as follows:

    python -m http.server .