Remove webglcontextlost listener on discarded test canvas
Misc. clean-up in unit tests
Canvas Target test now cleans up after itself
Recover from lost WebGL context (#14)
- All node types check for valid context before trying to render
- `renderDaemon` does not run when context is lost, until it is recovered again
- If primary WebGL target node is deleted, a new one can be created
- unit test for lost context
Misc. lint fixes
Don't die when creating a new node with a context that's already lost #14
- probably overkill, but never hurts to be extra robust
- will recover if `.preventDefault()` was called on original `webglcontextlost` event
- move context creation code into a shared function
Blur example animated to test speed of blur
- rStats added to show frame rate and render time
- Canvas size adjusted to take advantage of high DPI "Retina" display
Remove some unnecessary shader code
Run effect resize callback after input value has been saved
Depth Map Displacement
- Google depthmap source plugin
- Displacement effect plugin
- Depth Map/Displacement example
Remove unused shader code
Edge efect updates uniforms when the change, not on every draw
Target and Effect nodes should not render if they're not ready
- May address #56?
- Camera source should not copy options if it's not an object
- Added/removed some comments in code
Fix checkSource unit test when WebGL not supported
Depth map improvements
- Depth source plugin accepts ArrayBuffer as input
- Demo allows drag/drop of image from local file system
Multiple Canvas Targets #55
- Correct rendering to secondary WebGL target nodes
- Unit test for secondary WebGL target nodes
- Don't add failed nodes to internal node lists
- readPixels working for all node types, including transform
- Added example for multiple canvas targets
Fix depth map parsing. Some files weren't being read correctly.
Fix broken channels effect
Bug fix: Dirty state will not push from any node connected to 2+ inputs on the same node.
Allow setting of colors for Simplex Noise output