# Best way to animate curves

**URL:** <https://forum.kirupa.com/t/best-way-to-animate-curves/239003>\
**Category:** Uncategorized\
**Created:** [September 17, 2007, 10:09pm UTC](https://forum.kirupa.com/t/best-way-to-animate-curves/239003 "2007-09-17T22:09:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandpaw\_broon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grandpaw_broon/32/3985_2.png) [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Post date:** [September 17, 2007, 10:09pm UTC](https://forum.kirupa.com/t/best-way-to-animate-curves/239003/1 "2007-09-17T22:09:46Z")

</div>

Hey all 😃

Does anyone know the best way to animate curves drawn with the API?

I have a set point  
20 empty sprites  
20 curve shapes.

The problem is that some sprites move so id like the curves to stick to the moving sprites.

My attemps at this are a mess, as far as i got was to update the curves via an event on the sprites but obviously drawing a for loop with 20 items per event tends to create massive slowdown.

I essentially only want one of the anchor points to move, but this basic premise is screwing my brain. I cannot seem to find a quick way to draw all curves.

Any approach to this would be grand.

Cheers eh.

Grandpaw
