canvas planet simulation using websockets and node.js