How would I go about creating an animation of one smooth nonintersecting closed curve being continuously morphed into another closed curve? Additionally, the curves are not given analytically, but are taken from a .png image. One particular example is shown below --- I want to get the second curve from the first (little circles inside the shapes can be ignored). Any advice would be much appreciated! enter image description here


closed as too broad by m_goldberg, user9660, MarcoB, Öskå, dr.blochwave Jan 9 '16 at 23:32

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    $\begingroup$ Hi, take a look at Homotopy Visualization $\endgroup$ – Kuba Jan 6 '16 at 13:33
  • $\begingroup$ Thanks, that looks like exactly what I need! $\endgroup$ – Vitaly B Jan 6 '16 at 13:41
  • $\begingroup$ @Kuba I have tried some test examples (two larger objects with two smaller objects above them) with the top answer in the linked thread (others do not produce a homotopy) and it seems to break down regularly with the error message "Interpolation::per: In dimension 1 the data at the endpoints of the fundamental period are not equal." I am not very experienced with Mathematica, so I tried to tweak it to no avail. Could you or anyone else provide a working example for a particular case of this image: i.imgur.com/xFbSVIK.png? $\endgroup$ – Vitaly B Jan 6 '16 at 21:42