virtual-world-framework/vwf — pull request #373 by youngca (2014-10-17 15:33:52+00:00)
Title: Switch from using stage.draw() to stage.batchDraw() to help performance.

Replace tick's call to stage.draw() with stage.batchDraw(). batchDraw uses Kinetic's animation methods to render the scene in an animation frame limited to the browser's framerate rather than forcing the entire scene to draw based solely on the tick rate. Marked performance improvements noticed on the 2D application, TDG of up to 4x framerate.

See: http://www.html5canvastutorials.com/kineticjs/html5-canvas-kineticjs-batch-draw/

@scottnc27603 @eric79