# Morph from one position to the other?

**URL:** <https://discourse.processing.org/t/morph-from-one-position-to-the-other/21111>\
**Category:** Coding Questions\
**Created:** [May 20, 2020, 7:53pm UTC](https://discourse.processing.org/t/morph-from-one-position-to-the-other/21111 "2020-05-20T19:53:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkk16](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@rkk16](https://discourse.processing.org/u/rkk16)\
**Post date:** [May 20, 2020, 7:53pm UTC](https://discourse.processing.org/t/morph-from-one-position-to-the-other/21111/1 "2020-05-20T19:53:15Z")

</div>

I want to create an animation of a face going from happy to sad when a button is pressed - at the moment, this happens instantaneously. I’m aware of how to make certain features move using integers and increments but is there a tool to animate/morph from one position to the other ie if I draw an object at 30 degrees at position 200,300 - then the same object rotated at 60 degrees at position 200,400 - can it morph between the two to animate?

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [May 20, 2020, 8:22pm UTC](https://discourse.processing.org/t/morph-from-one-position-to-the-other/21111/2 "2020-05-20T20:22:14Z")

</div>

Bit of a duplicate question

Maybe bezier or curve can help you together with lerp to make a sad mouth turn up to a smile
