-
Notifications
You must be signed in to change notification settings - Fork 2
WebApp
Moritz edited this page Nov 3, 2015
·
6 revisions
Python/Flask/Tornado based. Renders the usual HTML stuff. Handles Requests to render a scene on the backend and establishes a WebSocket connection to return the rendered image piece by piece.
The renderer generates 50x50 sized subimages. Everytime a new subimage is generated, a image of the final image size is updated containing every subimage that has been rendered so far. Via the websocket connection, the webapp tells the client to update the image.
Features:
- Register/Login/Logout (Simple username/password)
- Save and load scenes
/* clientapp (angular app)
/users*
/scenes*
/render <- websocket
http://stackoverflow.com/questions/18148909/what-are-the-best-practices-to-use-angularjs-with-django
http://blog.kevinastone.com/getting-started-with-django-rest-framework-and-angularjs.html