Re: [Jmol-users] labeling residue by position relative to observer

2017-05-16 Thread Luciano Abriata
Dear Eric, Glad you liked the web app. But I should in turn thank Angel Herraez who did the hardest part of modifying webgazer to make it fully compatible with JSmol ! Related, here's another type of technology that would be cool to integrate better with JSmol. So far I'm exploring it with my

Re: [Jmol-users] State of the world of WebGL "alternatives" to JSmol

2017-05-16 Thread Robert Hanson
I note that one could connect JSmol to any of these with only a little work. Just hasn't been done. On Mon, May 15, 2017 at 1:33 PM, Paul PILLOT wrote: > Dear Jmolers, > the original message of this thread was posted one year and a half ago… > and discussed about libraries

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-16 Thread Eric Martz
Dear Luciano, Wow! That is amazing! It worked easily for me (MacBook Pro). For people who haven't tried it: Go the link below. It asks permission to use your camera. Follow simple instructions to calibrate (takes less than one minute). Then whatever part of the molecule you look at rotates

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-16 Thread Angel Herráez
Great solution I just noted this in the documentation (under "functions"): point({x,y,z}, true)gives the screen coordinates {sx, sy, sz} corresponding to the 3D coordinates {x, y, z}. point({sx,sy,sz}, false)gives the 3D coordinates {x, y, z} cooresponding to the screen

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-16 Thread Luciano Abriata
Thank you Bob and thank you Eric too (your example helped me learn that I could set timeout inside Jmol scripts!!) For documentation: I modified a bit the selection into: select on *.ca and within(8,sz = @{all.sz.min}) So as to label each protein residue only at its CA, and to label not only the