From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri May 06 2022 - 11:53:09 CDT

Hi,
  If you're interested in doing the display in a browser window
without getting into the complexities of video streaming or
the like, then for small to moderate sized structures, I would
say that WebGL is the way to go. I can't comment about trajectory
display, I don't know if there are any WebGL based molecular viewers
that support trajectories. I think if you search google for WebGL-based
viewers you'll probably find quite a few. VMD doesn't have any WebGL
support, so all of these would involve running totally different software.

Best,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, May 06, 2022 at 05:49:41PM +0100, manuel mourato wrote:
> Hello John,
>
> Many thanks for your help. You are indeed correct, I tested it now and
> everything seems┬ to be working. My apologies.
> Regarding your explanation, it makes sense and it is useful┬ for me
> nonetheless. However, do you know of anyway that I can use to display the
> actual simulated structures in a web browser? For example via WebGL? So
> essentially, have vmd running in my local machine, but being able to not
> only send commands to it via browser, but also to view the actual
> structure in the browser?┬ (viewing the tabs and menu is not necessary).
>
> Thank you again,
> Manuel Mourato
> On Fri, 6 May 2022 at 15:06, John Stone <[1]johns_at_ks.uiuc.edu> wrote:
>
> Hi,
> ┬ I just checked, and all of the links on that page seem to work fine
> for me.┬ What links aren't you able to access?┬ The links on that page
> simply lead to either the "test.vmd" script or the "vmdexec.bat" /
> "vmdexec.sh"
> shell scripts, and they were accessible when I just checked them.
>
> These scripts don't run VMD inside a browser window however, the goal of
> those scripts is to control a VMD session running on your local machine
> from within a web browser, to make automated demos where hyperlinks
> send messages to VMD, for example.
>
> Best regards,
> ┬ John Stone
> ┬ [2]vmd_at_ks.uiuc.edu
>
> On Fri, May 06, 2022 at 12:23:59PM +0100, manuel mourato wrote:
> >┬ ┬ Hello all,
> >
> >┬ ┬ Apologies if this is a very general question, but I wanted to
> know if it
> >┬ ┬ is possible to embed─* VMD in a web application, such that a user
> could use
> >┬ ┬ VMD from a web browser.
> >
> >┬ ┬ I found these instructions─*
> >┬ ┬
> [1][3]https://www.ks.uiuc.edu/Research/vmd/script_library/scripts/webvmd/browsers.html─*
> ─*
> >┬ ┬ But they seem to be out of date, given that many links don't
> work.
> >
> >┬ ┬ Is there someone that can help me with this?
> >┬ ┬ Thank you.
> >┬ ┬ Manuel
> >
> > References
> >
> >┬ ┬ Visible links
> >┬ ┬ 1.
> [4]https://www.ks.uiuc.edu/Research/vmd/script_library/scripts/webvmd/browsers.html
>
> --
> NIH Center for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> [5]http://www.ks.uiuc.edu/~johns/┬ ┬ ┬ ┬ ┬ ┬ Phone: 217-244-3349
> [6]http://www.ks.uiuc.edu/Research/vmd/┬ ┬ ┬
>
> References
>
> Visible links
> 1. mailto:johns_at_ks.uiuc.edu
> 2. mailto:vmd_at_ks.uiuc.edu
> 3. https://www.ks.uiuc.edu/Research/vmd/script_library/scripts/webvmd/browsers.html%C4%80
> 4. https://www.ks.uiuc.edu/Research/vmd/script_library/scripts/webvmd/browsers.html
> 5. http://www.ks.uiuc.edu/~johns/
> 6. http://www.ks.uiuc.edu/Research/vmd/

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/