- (15m) Emscripten hello world
- Note: if you haven't installed emscripten, do that instead. http://kripken.github.io/emscripten-site/docs/getting_started/Tutorial.html#tutorial
emcc tests/hello_world.c
node a.out.js
mv a.out.js b.out.js
emcc -O1 tests/hello_world.c
- Play around in both, see what interesting observations you come up with.
- Potential starting point: try to find the string "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
frombullet/
- 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?
- General orientation:
- (10m) Discuss
Created
June 22, 2015 13:35
-
-
Save shawndrost/d2f6c876e3ed8a0e7f3c to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment