User:Karsten Theis/transition proposal: Difference between revisions

From Proteopedia
Jump to navigation Jump to search
Karsten Theis (talk | contribs)
New page: <StructureSection load='' size='340' side='right' caption='UvrB in complex with ATP' scene='77/779435/Front/1''> I think smooth transitions from 3D scene to 3D scene are one of the great f...
 
Karsten Theis (talk | contribs)
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<StructureSection load='' size='340' side='right' caption='UvrB in complex with ATP' scene='77/779435/Front/1''>
<StructureSection load='' size='340' side='right' caption='UvrB in complex with ATP' scene='77/779435/Front/1'>
I think smooth transitions from 3D scene to 3D scene are one of the great features in Proteopedia, and we should encourage using them. They allow the viewer to learn about different parts of a structure without losing their orientation.
I think smooth transitions from 3D scene to 3D scene are one of the great features in Proteopedia, and we should encourage their use. They allow viewers to learn about different parts of a structure without losing their bearing.


==Proposal: always transition smoothly==
==Proposal: smooth transition as default==


Keep the reload switch as is. If new coordinates are loaded (because they are new, or because reload is requested), switch directly to the new scene (no zoom no move).
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.


Remove the other two switches, and always zoom out, show new scene, zoom in when the coordinates stay the same. If author wants to skip transition, they can turn reload switch on. If an author wants a different option, use JmolLinks to change orientation "by hand".
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.


===Demo: same coordinates===
The two demos below shows the proposed new behaviors.
Start here: <scene name='77/779435/Dna/6'>DNA view</scene>


Then transition with zoom out and zoom in: <jmol><jmolLink>
===Demo 1: new coordinates (or forced reload) ===
<script>script /wiki/images/9/9d/ATPsmoothtransition.spt;</script>
This demonstrates loading new coordinates and showing the scene without transitions.
<text>fast move</text></jmolLink></jmol>


Original delays: <scene name='77/779435/Atp/6'>ATP</scene>
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.


===Demo: new coordinates (or forced reload) ===
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'>same coordinates</scene> or here: <scene name='77/779435/Lyso/2'>different coordinates</scene>.


Then load as fast as possible: <jmol><jmolLink>
Then load as fast as possible: <jmol><jmolLink>
Line 24: Line 21:
<text>fast load</text></jmolLink></jmol>
<text>fast load</text></jmolLink></jmol>


Original delays: <scene name='77/779435/Atp/7'>ATP</scene>
Original delays: <scene name='77/779435/Atp/7'>slow load</scene>


The two lines that make this slower:
The two lines that make this slower:
   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 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>
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>
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>

Latest revision as of 16:40, 28 October 2020

I think smooth transitions from 3D scene to 3D scene are one of the great features in Proteopedia, and we should encourage their use. They allow viewers to learn about different parts of a structure without losing their bearing.

Proposal: smooth transition as default

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 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 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: or here: .

Then load as fast as possible:

Original delays:

The two lines that make this slower:

 delay 1.0;
  moveto 1.0 { -506 -641 577 176.65} 707.57 0.0 0.0 ...

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:

Then transition with zoom out and zoom in:

Original delays:

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):


UvrB in complex with ATP

Drag the structure with the mouse to rotate