PDA

View Full Version : morphTo: Is there a smoother method?


Josh
03-07-2010, 03:20 PM
Hi all

morphTo is very unnatural: it's always at the same speed. It would be better to start slowly, then incrementally get faster, and then incrementally get slower again until the morph has completed.

Is there maybe some method that does this?

Thanks for help :-)
Josh

Jeff
03-08-2010, 09:50 AM
You could break up the vizact.morphTo action into a sequence of shorter morphs. For each one you could pass in a different time value.