This project combines four open source projects to demonstrate a physics engine which runs on node.js, off from a Web browser.
To see demo, load index.html which is located in client directory and the click the top button, after running server.js by using node, or "node server.js". please make sure node is installed previsouly.
The client directory contains index.html and JS files, which are supposed to run on top of a Web browser. remoteworker.js is to register HTML5 Worker-like object which supports only reduced set of method and functionalities including postMessage and terminate. It utilized sockJS(WebSocket polyfill) to communicate with a node server.
The node directory contains node's server JS file and physics engine files. It uses socksJS to send simulated results back to the browser.
INFINIWALL: github
box2dweb: code google
box2d-javascript-fun: github
sockJS: github
As of now, it is tested only for Google Chrome browser and Safari