User:Eric Martz/Molecular Playground/Authoring: Difference between revisions
Eric Martz (talk | contribs) →Components of a Module for MP: adding content |
Eric Martz (talk | contribs) →Designing An Effective Module: adding content |
||
Line 26: | Line 26: | ||
==Designing An Effective Module== | ==Designing An Effective Module== | ||
'''Use light colors on a black background.''' Because MP projects in a well lit atrium, generally a black background (which will appear medium gray) works best. Dark colors are hard to see on the black background, so use light colors as much as possible. In particular, Jmol's default [[CPK]] colors for carbon, oxygen and nitrogen are marginally visible. Therefore the support script provided for MP includes a function '' | |||
'''Permit 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 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. | |||
[[rotatable, light room/black background, ...]] | [[rotatable, light room/black background, ...]] |