# How to distort a bitmap between the known points

**URL:** <https://forum.kirupa.com/t/how-to-distort-a-bitmap-between-the-known-points/310929>\
**Category:** flash\
**Created:** [June 23, 2010, 9:08am UTC](https://forum.kirupa.com/t/how-to-distort-a-bitmap-between-the-known-points/310929 "2010-06-23T09:08:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artoix](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@artoix](https://forum.kirupa.com/u/artoix)\
**Post date:** [June 23, 2010, 9:08am UTC](https://forum.kirupa.com/t/how-to-distort-a-bitmap-between-the-known-points/310929/1 "2010-06-23T09:08:12Z")

</div>

I have four points and I need to draw a bitmap between these points. Points coordinates constantly change uniformly so the bitmap must be distorted so its vertices have the same coordinates as the points (see attached image).

I suppose that Papervision3D should be used.  
Or maybe such implementation may be achieved with built in Matrix transformation?  
I just need an assistance on what implementation should be used or where to look for such solution.  
Thanks!
