Another "How to do this in a Revlet?" thread

capellan capellan2000 at yahoo.com
Fri Oct 30 19:50:27 EDT 2009


Hi Richard,

Actually, these are plain and simple vector graphics, organized
like concentric rings that you could show and hide, depending
of zoom level.

This zoom slider is actually scaling all graphics from
the center. Adobe Flash do not scale all vector graphics
at the same time. This is an illusion. But a really fast one.
I had published an stack that uses matrices to scale vector
graphics. Scaling the points of vector graphics in a loop or
driven by a scale slider should be no problem. ;-)
http://www.capellan2000.000space.com/graphics_transformations_01.zip

Scott Rossi published an stack that shows a rotating and scaling
vector graphic:
http://tactilemedia.com/site_files/downloads/tutti3d.rev.zip

About the seemingly infinite zoom, you could simulate this
showing a new group of vector graphics when the outer container
group of graphics reach certain zoom level.

Did you notice that small graphics in the center, only show
distinguishable details after they reach certain size? You could
use this exact scale point to hide the outer vector container group
and show a new vector graphics group that you could keep scaling.

When the container group is zoomed out of the stack
area, hide this group and the scale slider controls the
resize of the recently visible group.

In this way, you are zooming only one group of graphics,
not all the groups at the same time. And when the group
reach a certain scale or zoom, you show a new group
and hide previous zoomed group. Keep doing this ad infinitum.
Like showing and hiding concentric rings.

Alejandro
-- 
View this message in context: http://old.nabble.com/Another-%22How-to-do-this-in-a-Revlet-%22-thread-tp26132513p26138470.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list