I implemented a fix that does some smart camera positioning to keep the bounding sphere at a certain % of the screen, but we determined that the camera distance was already part of the file's default camera settings and there was no way to respect it while doing the smart positioning.
Alli mentioned that doing auto-positioning/scaling could be useful during the data generation or conversion step, though, as these are otherwise very fiddly settings.
Extension of issue https://github.com/simularium/simularium-viewer/issues/330, a bug where the initial camera view was too far zoomed out.
I implemented a fix that does some smart camera positioning to keep the bounding sphere at a certain % of the screen, but we determined that the camera distance was already part of the file's default camera settings and there was no way to respect it while doing the smart positioning.
Alli mentioned that doing auto-positioning/scaling could be useful during the data generation or conversion step, though, as these are otherwise very fiddly settings.
See potentially useful code in https://github.com/simularium/simularium-viewer/pull/383.