User:Karsten Theis/transition proposal: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
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. | 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 | The two demos below shows the proposed new behaviors. | ||
===Demo 1: new coordinates (or forced reload) === | |||
This demonstrates loading new coordinates and showing the scene without transitions. | |||
Click on "DNA view" first, then on "fast load" for the proposed behavior (new coordinates are loaded with minimal delay). For the original delayed transitions, click on "DNA view" first, then on the "slow load" option instead. | |||
Start here: <scene name='77/779435/Dna/6'>DNA view</scene> or here: <scene name='77/779435/Lyso/2'>unrelated structure</scene>. | Start here: <scene name='77/779435/Dna/6'>DNA view</scene> or here: <scene name='77/779435/Lyso/2'>unrelated structure</scene>. | ||
Line 23: | Line 27: | ||
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=== | ===Demo 2: smooth transitions if coordinates are the same=== | ||
This demonstrates a smooth transition when a scene uses the same coordinates as the previous one. Click on "DNA view" first, then on "fast move" (no loading of coordinates, smooth transition). For the original delayed transitions, click on "DNA view" first, then on "slow move" option instead. | |||
Start here: <scene name='77/779435/Dna/6'>DNA view</scene> | Start here: <scene name='77/779435/Dna/6'>DNA view</scene> | ||
Line 31: | Line 37: | ||
Original delays: <scene name='77/779435/Atp/6'>slow move</scene> | Original delays: <scene name='77/779435/Atp/6'>slow move</scene> | ||
Optionally, we could also have a transition that does not zoom out, but moves directly (for this example, where the two views are very different from each other, and we are switching representations, it is quite jarring; for other more subtle transitions, it might be the better option): | |||
<jmol><jmolLink> | |||
<script>script /wiki/images/d/d6/ATPdirecttransition.spt;</script> | |||
<text>direct move</text></jmolLink></jmol> | |||
</StructureSection> | </StructureSection> |