3Dmol.js icon indicating copy to clipboard operation
3Dmol.js copied to clipboard

Smarter ZoomTo

Open dkoes opened this issue 5 years ago • 0 comments

Currently zoomTo is agnostic to the visual radius of the atoms and uses a fixed minimum distance to ensure small molecules are viewable. A better approach would be to calculate the maximum visual radius of the outlier atoms. This requires exposing wrapping getRadiusFromStyle in a viewer accessible function and then updating all the tests that will now be more zoomed in.

dkoes avatar Feb 24 '20 14:02 dkoes