Cleaned examples/basic.html
minor fix for animations

Fixed a bug when the camera is animated with a duration of 0.
minor improvement in WebGL renderer

The WebGL renderer now uses the same Canvas for both nodes and edges.