I need to remove a canvas and build a new one. I\'m having a problem where I don\'t know how to stop/interrupt the Three.js or webGL update process. I can stop it if I force
var id; function animate() { id = requestAnimationFrame( animate ); renderer.render( scene, camera ); }
To cancel
cancelAnimationFrame( id );
three.js r.55