Skip to content

Instantly share code, notes, and snippets.

@shawndrost
Created June 22, 2015 13:35
Show Gist options
  • Save shawndrost/d2f6c876e3ed8a0e7f3c to your computer and use it in GitHub Desktop.
Save shawndrost/d2f6c876e3ed8a0e7f3c to your computer and use it in GitHub Desktop.

Future of the Web Platform: Workshop

  • (15m) Emscripten hello world
  • (10m) Discuss
  • (20m) Attempt to compile ammo.js
    • Download source from https://github.com/kripken/ammo.js/
    • mv builds/temp.js builds/temp-backup.js so that it won't shortcut the build process.
    • Run autogen.sh from bullet/
    • Run python make.py
      • You'll need to install automake and libtool if you haven't already.
  • (20m) Explore ammo.js
    • If you didn't finish, restore your backup build
    • python -m SimpleHTTPServer, visit http://localhost:8000/examples/webgl_demo/ammo.html
    • Explore and see what interesting conclusions you can draw
      • General orientation: examples/webgl_demo/shared.js contains worker code.
      • Potential starting point: Why is it so slow if the benchmarks claim such good performance?
  • (10m) Discuss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment