Molara-Lab / Molara

Molara is a Python package for the visualization of chemical structures such as molecules or crystals. It provides a graphical user interface for importing structures from output files of popular computational chemistry software as well as for creating custom structures.
GNU General Public License v3.0
11 stars 0 forks source link

Logarithmic scaling of zoom #372

Closed DariaBabushkina closed 2 months ago

DariaBabushkina commented 2 months ago

Zooming into big systems (like examples/xyz/solution.xyz) is very slow due to the large distance to the "center". Logarithmic scaling with the distance would be better.

adrianusler commented 2 months ago

This can be done by adapting the set_distance_from_target routine in src/molara/Rendering/camera.py. Do you want to give it a try, @DariaBabushkina?