Molecular Playground/Authoring: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 29: Line 29:
===Facilitate rotation by onlookers===
===Facilitate rotation by onlookers===


MP invites onlookers to interact by rotating the structure at any time. Therefore, scripts should be designed to permit rotation as much of the time as possible. Furthermore, it may be desirable for the user-set orientation to remain while the script proceeds, perhaps all the way to the end of the script. For example, a ''moveto'' command precludes rotation until the specified orientation is completed. In the version of Jmol currently used in Proteopedia (11.8.9 in December, 2009), ''zoomto'' commands also enforce the current orientation, "fighting" with the onlooker who attempts rotation during the timed zoomto. Therefore, the support script provided for MP includes a function ''zoomRotatableTo()'' that performs the zoom while permitting rotation.
MP invites onlookers to interact by rotating the structure at any time. Therefore, scripts should be designed to permit rotation as much of the time as possible. Furthermore, it may be desirable for the onlooker-set orientation to remain while the script proceeds, perhaps all the way to the end of the script. One command that goes counter to this goal is a ''moveto'' command, which precludes rotation until the specified orientation is completed. In the version of Jmol currently used in Proteopedia (11.8.9 in December, 2009), ''zoomto'' commands also enforce the current orientation, "fighting" with the onlooker who attempts rotation during the timed zoomto. Therefore, the support script provided for MP includes a function ''zoomRotatableTo()'' that performs the zoom while permitting rotation.


===Avoid displays that seriously slow Jmol===
===Avoid displays that seriously slow Jmol===
Line 155: Line 155:
* PlaygroundContentPath # the path on the MP server to your .spt and .pdb files. The filename must be appended to this.
* PlaygroundContentPath # the path on the MP server to your .spt and .pdb files. The filename must be appended to this.
* PlaygroundSupportScriptPath # the path on the MP server to MPSupportVersion01.spt and MPSceneVersion01.spt. The filename must be appended.
* PlaygroundSupportScriptPath # the path on the MP server to MPSupportVersion01.spt and MPSceneVersion01.spt. The filename must be appended.
<!-- Adam plans in April 2011 that these will become:
PlaygroundModelPath
PlaygroundScriptPath
PlaygroundSupportPath
-->


==Web Pages==
==Web Pages==
Line 210: Line 216:
==Notes and References==
==Notes and References==
<references />
<references />
==See Also==
* [[Molecular Playground]]
* [[CBI Molecules]]


[[Category: Molecular Playground]]
[[Category: Molecular Playground]]

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Craig T Martin