q.js icon indicating copy to clipboard operation
q.js copied to clipboard

Bloch Sphere theta and phi redraw optimization

Open stewdio opened this issue 5 years ago • 0 comments

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.

stewdio avatar Jun 19 '20 19:06 stewdio