This project is built on my wasm-rotating-cube project, Check it out for a more basic example. Instead of drawing only a 3D cube, this project draws arbitrary models imported with from STLs.
To see this project running check out this link: https://bobcob7.github.io/wasm-stl-viewer/
To run you can use the makefile with make run