This package provides a socket.io-based server that is capable to play bonsai js movies on a node server, streaming rendering commands to browsers and send user events back to the server.
git clone [email protected]:uxebu/bonsai-server.git
cd bonsai-server
npm install
node index.js &
open example/client.html
The following features are planned and will be implemented in order:
- Accept incoming connections and start a single movie for each of them.
- Accept multiple incoming connections for a single movie.
- Create a new movie for every n connections.
- Run movies in isolated processes rather than in
vm
s.