Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm trying to make an animation transition between 2 shapes, example: transform a square into a circle... or transform a triangle into 2 squares

pretty much like this: http://i.stack.imgur.com/hSxul.jpg (no rep for posting images)

my first idea is to interpolate 2 planes and give them 2 different values of Z, and then interpolate the shape of one plane into the other... but how?

share|improve this question

1 Answer 1

Parametrize both curves by normalized arc length. Now use the homotopy $H(s,t)=(1-t)A(s)+tB(s)$.

share|improve this answer
    
That doesn't immediately apply for "triangle into 2 squares", however. (But one might imagine tricks like arbitrarily connecting the two squares with an invisible umbilical). –  Henning Makholm Oct 4 '12 at 21:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.