I use 3Dmol.js quite extensively in Jupyter (lab) notebooks. I am convinced that a tighter integration of this library in the Jupyter lab ecosystem would significantly increase its usability for Jupyter users.
To be able to combine 3Dmol with interactive widgets to build entire Jupyter "apps", for instance, a 3Dmol "Widget" would be tremendously useful. Imagine enabling users to build a light-weight, modular, and easy to use Jupyter app that allows users to load XYZ trajectories with a FileUploadWidget, scroll through snapshots with a SliderWidget, and download views with the click on a Button.
I use 3Dmol.js quite extensively in Jupyter (lab) notebooks. I am convinced that a tighter integration of this library in the Jupyter lab ecosystem would significantly increase its usability for Jupyter users.
To be able to combine 3Dmol with interactive widgets to build entire Jupyter "apps", for instance, a 3Dmol "Widget" would be tremendously useful. Imagine enabling users to build a light-weight, modular, and easy to use Jupyter app that allows users to load XYZ trajectories with a FileUploadWidget, scroll through snapshots with a SliderWidget, and download views with the click on a Button.
See, for instance, the following website: https://ipywidgets.readthedocs.io/en/8.0.2/examples/Widget%20Basics.html to learn how widgets can be used. I found a cookie-cutter template for widgets here: https://github.com/jupyter-widgets/widget-cookiecutter.
Unfortunately, I don't have much experience JS but still would like to put this idea out there.