nglviewer / ngl

WebGL protein viewer
http://nglviewer.org/ngl/
MIT License
664 stars 169 forks source link

dynamics? animation, simulation... #934

Closed paul-shannon closed 1 year ago

paul-shannon commented 2 years ago

This is a naive question. I offer apologies in advance.

I have been delighted by the power of ngl.js, which I currently use via an R/shiny app. Our first application is an exploration of the structure of the oxygen-evolving complex in the the context of photsystem II.

See the Demo button in https://paulshannon.shinyapps.io/OECapp/. The underlying widget is maintained here.

Can ngl.js support dynamics, as well as structure? For instance: could I somehow animate/simulate the absorbtion of a photon and the travel of an excited electron down the electron transport chain?

I'd be grateful for any suggestions you have.

phobrain commented 2 years ago

I had it pulling a pdb from a dynamics simulation once a second. I disabled the feed a while back, but the code is likely still in the page. :-)

http://phobrain.com/pr/home/mol.html

ppillot commented 1 year ago

There are various ways this can be done:

paul-shannon commented 1 year ago

@ppillot thank you for these three suggestions. I will give each a try.