An experiment with Vispy and Javascript
The client.py renders and sends PNG images to server.py with a
socket.
The server.py waits for the javascript client to register.
Then it streams base64 encoded PNG images to the javasctipt client
using a websocket.
Update size of the image on the socekt
Update size of the image on the socekt
Replace import Image with from PIL import Image
Seperate autobahn experiment and tornado experiment
Vispy in browser: Experiment with tornado
Updates:
- Use tornado instead of autobahn
- Keep the image in memory using StringIO
- Single process (server.py) instead of server and client.
server.py has:
  1) Main thread that creates PNG images
  2) Server thread that communicates with the browser
Fix typo
Solved speed issue
By distributing loads more balanced between the main thread and the
server thread, it seems speed issue is solved.
Now, main thread only saves screenshots. It is the server thread
that writes and reads from buffer.
Cleanup index.html
Remove autobahn experiment
Merge pull request #1 from mfkaptan/online-backend-experiment

Online backend experiment