q.js
q.js copied to clipboard
Bloch Sphere theta and phi redraw optimization
Currently each time updateBlochVector is called it attempts to scale the Theta ring and also recalculate the geometry for the Phi arc. This is waaaay unnecessary. Should instead only re-scale and only recalculate geometry if Theta or Phi have changed respectively.