# "Stretch/bend" BitmapData or vector graphics

**URL:** <https://forum.kirupa.com/t/stretch-bend-bitmapdata-or-vector-graphics/303780>\
**Category:** flash\
**Created:** [January 26, 2010, 11:07pm UTC](https://forum.kirupa.com/t/stretch-bend-bitmapdata-or-vector-graphics/303780 "2010-01-26T23:07:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IQAndreas](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Post date:** [January 26, 2010, 11:07pm UTC](https://forum.kirupa.com/t/stretch-bend-bitmapdata-or-vector-graphics/303780/1 "2010-01-26T23:07:29Z")

</div>

How would one go about drawing bitmap data or vector shapes to “bend” around in some fashion?

I’m working on a quick “rope/string physics” class, and I want some way to render the result by instead of having several “rectangles” between each point, I want to smooth them out and make them into curves instead.

Anyone done this before or at least have any idea where I could start?
