adnanullah/atmosphereJS — Issue #1: Implement canvas per object to optimise redraw behaviour
Author: adnanullah
Created: 2012-01-23 00:50:08+00:00
State: open

Currently a reference to the canvas context is being passed into each library function. This means all objects share the same context which can potentially cause a performance bottleneck.

TODO:
1. Change the function signatures to accept a DOM node instead of a Canvas object
2. Dynamically create a Canvas node per object and store the reference to that node internally.