User:Karsten Theis/transition proposal
From Proteopedia
(Difference between revisions)
Line 4: | Line 4: | ||
==Proposal: always transition smoothly== | ==Proposal: always transition smoothly== | ||
- | I propose to change the SAT that transitions between two scenes | + | I propose to change the SAT such that transitions between two scenes using the same coordinates are always smooth. If an author does not want this behavior, there is a way to opt out by forcing a reload of coordinates. If coordinates are reloaded, show the new scene as fast as possible. |
- | There are two advantages: First, it avoids a transition where it does not make sense (from an arbitrary initial orientation | + | There are two advantages: First, it avoids a transition where it does not make sense (from an unrelated old scene to an arbitrary initial orientation of the new scene to the desired orientation). Secondly, this allows for some transition to be faster. Right now there is at least a 2 second delay built into loading a scene. This slows down browsing the figures. |
The demo below shows the proposed new behavior. Click on "DNA view" first, then on "fast move" or "fast load". For the original delayed transitions, click on "DNA view" first, then on "slow" options instead. | The demo below shows the proposed new behavior. Click on "DNA view" first, then on "fast move" or "fast load". For the original delayed transitions, click on "DNA view" first, then on "slow" options instead. | ||
- | |||
- | ===Demo: same coordinates=== | ||
- | Start here: <scene name='77/779435/Dna/6'>DNA view</scene> | ||
- | |||
- | Then transition with zoom out and zoom in: <jmol><jmolLink> | ||
- | <script>script /wiki/images/9/9d/ATPsmoothtransition.spt;</script> | ||
- | <text>fast move</text></jmolLink></jmol> | ||
- | |||
- | Original delays: <scene name='77/779435/Atp/6'>slow move</scene> | ||
===Demo: new coordinates (or forced reload) === | ===Demo: new coordinates (or forced reload) === | ||
Line 31: | Line 22: | ||
delay 1.0; | delay 1.0; | ||
moveto 1.0 { -506 -641 577 176.65} 707.57 0.0 0.0 ... | moveto 1.0 { -506 -641 577 176.65} 707.57 0.0 0.0 ... | ||
+ | |||
+ | ===Demo: smooth transitions if coordinates are the same=== | ||
+ | Start here: <scene name='77/779435/Dna/6'>DNA view</scene> | ||
+ | |||
+ | Then transition with zoom out and zoom in: <jmol><jmolLink> | ||
+ | <script>script /wiki/images/9/9d/ATPsmoothtransition.spt;</script> | ||
+ | <text>fast move</text></jmolLink></jmol> | ||
+ | |||
+ | Original delays: <scene name='77/779435/Atp/6'>slow move</scene> | ||
</StructureSection> | </StructureSection> |
Revision as of 15:05, 23 July 2019
|