Molecular Playground/Authoring: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
Line 69: | Line 69: | ||
**''' Instructions for creating your web page are below, under [[#Web Page Procedure in Proteopedia]].''' | **''' Instructions for creating your web page are below, under [[#Web Page Procedure in Proteopedia]].''' | ||
* By hand. This requires familiarity with the [http://chemapps.stolaf.edu/jmol/docs/ Jmol Command Scripting Language]. No instructions are provided here for this method, either for constructing the script file, or for making a supporting web page. | * By hand. This requires familiarity with the [http://chemapps.stolaf.edu/jmol/docs/ Jmol Command Scripting Language]. No instructions are provided here for this method, either for constructing the script file, or for making a supporting web page. | ||
'''Technical''': MP takes responsibility for loading the PDB file before your script is run, and it adds a delay after your script is run so that your scene will spin for a while before a repeat cycle of your script, or a different script, is run. For all three levels, MP defines the following variables before any master script is run: | |||
* PlaygroundProjection = true; # this if false if undefined | |||
* 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. | |||
===Level II: A Single Molecular Scene With A Color Key=== | ===Level II: A Single Molecular Scene With A Color Key=== |