Difference between revisions of "PlatformSpeed"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) (new page for explaining set platformSpeed) |
AngelHerraez (talk | contribs) (new page for explaining set platformSpeed) |
||
Line 1: | Line 1: | ||
= set platformSpeed = | = set platformSpeed = | ||
− | The command <code>set platformSpeed = n</code> allows to define which features will be | + | The command <code>set platformSpeed = n</code> allows to define which features will not be rendered while the model is being rotated, translated or otherwise is moving in any way (e.g. animation by <code>moveTo</code>). |
− | This is aimed at achieving a smoother behaviour in resource-limited devices, particularly while using JSmol in HTML5 modality. | + | This is aimed at achieving a smoother behaviour in resource-limited devices (like tablets), particularly while using JSmol in HTML5 modality (however, it is effective under all modalities, as well as in the Jmol application). |
− | Lower values provide a stronger | + | Lower values provide a stronger restriction of features, and so are appropriate for less powerful devices. |
+ | When the movement stops, all features will be displayed in any case. | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
− | <td rowspan="2"> | + | <td rowspan="2">''Is this feature displayed during rotation and movement?<br>(a dark cell means the feature is not displayed)''</td> |
<td colspan="8">set platformSpeed = </td> | <td colspan="8">set platformSpeed = </td> | ||
</tr> | </tr> | ||
Line 22: | Line 23: | ||
<td>2</td> | <td>2</td> | ||
<td>1</td> | <td>1</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 106: | Line 102: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | ''Notes:'' | ||
+ | * The deafult is <code>set platformSpeed = 10</code> (right now, equivalent to 9 and 8) | ||
+ | * <code>set platformSpeed = 8</code> displays everything during movement. | ||
+ | * <code>set platformSpeed = 1</code> is equivalent to <code>set wireframeRotation off</code> (now deprecated). | ||
+ | * <code>set platformSpeed = 0</code> is reserved (for 'auto', whatever that means). | ||
+ | |||
+ | See the [{{StOlaf}}docs/#set_platformspeed scripting documentation] for the full reference. |
Revision as of 17:03, 20 November 2015
set platformSpeed
The command set platformSpeed = n
allows to define which features will not be rendered while the model is being rotated, translated or otherwise is moving in any way (e.g. animation by moveTo
).
This is aimed at achieving a smoother behaviour in resource-limited devices (like tablets), particularly while using JSmol in HTML5 modality (however, it is effective under all modalities, as well as in the Jmol application).
Lower values provide a stronger restriction of features, and so are appropriate for less powerful devices.
When the movement stops, all features will be displayed in any case.
Is this feature displayed during rotation and movement? (a dark cell means the feature is not displayed) |
set platformSpeed = | |||||||
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
solid atoms (balls) and solid bonds (sticks) | ||||||||
ellipsoids | ||||||||
geosurfaces | ||||||||
cartoons, ribbons, trace, rockets (biopolymer schematics) | ||||||||
draw, isosurfaces, MO, contact, pmesh, lcaocartoon, CGO | ||||||||
translucency | ||||||||
antialiasDisplay |
Notes:
- The deafult is
set platformSpeed = 10
(right now, equivalent to 9 and 8) set platformSpeed = 8
displays everything during movement.set platformSpeed = 1
is equivalent toset wireframeRotation off
(now deprecated).set platformSpeed = 0
is reserved (for 'auto', whatever that means).
See the scripting documentation for the full reference.