zoom out view function

Asked by Wanderer

In the showcase svg file, while moving from "Stage 1" to "Stage 2" using the views feature on slide #21, the view zooms out slightly from Stage 1 before zooming in again onto Stage 2.

I have tried adding two rectangles with the same order, one slightly zoomed out, but this doesn't seem to work, instead only one rectangle is used for the view and the other simply returns to a regular rectangle. I also can't see any other way to do this, maybe I am missing something.

Any help much appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
JessyInk Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wanderer (dunc-white) said :
#1

I should also add that I do not want to zoom out with one keystroke and zoom in with another, I want them to play together like in the showcase.

Revision history for this message
Hannes Hochreiner (hannes-hochreiner) said :
#2

Hi,

the described behaviour is quite expected. At the moment the transitions between views are calculated as a linear combination of the transformation matrices of the start and the end views (as I am sure you have seen in your study of the code). The zooming effect is a consequence of the fact that the views in the showcase are rotated. If you play with rotation and skewing there are some quite interesting effects you can achieve (some are expected others less so).

In the future, I would like to provide some other view-transitions that will allow more control (such as the ability to add a zoom effect even if you are just moving from one part of the slide to another or not having a zoom effect with rotated views). However, I haven't had time to work out about the details of the implementation.

Cheers,
Hannes

Revision history for this message
ValessioBrito (valessio) said :
#3
Revision history for this message
ValessioBrito (valessio) said :
#4

demos js+svg: http://paulirish.com/work/gordon/demos/

see it's demo with zoom and others effects:
http://paulirish.com/work/gordon/demos/blue.html

Revision history for this message
Hannes Hochreiner (hannes-hochreiner) said :
#5

Thanks for letting me know about gordon! It looks like a really nice project.

Revision history for this message
ValessioBrito (valessio) said :
#6

it's similar script.
http://wiki.colivre.net/Aurium/Zoomer

Create an order on the objects

Release effect following the order

Can you help with this problem?

Provide an answer of your own, or ask Wanderer for more information if necessary.

To post a message you must log in.