# Dynamic american flag waving in the wind

**URL:** <https://forum.kirupa.com/t/dynamic-american-flag-waving-in-the-wind/178993>\
**Category:** Uncategorized\
**Created:** [February 15, 2006, 10:46pm UTC](https://forum.kirupa.com/t/dynamic-american-flag-waving-in-the-wind/178993 "2006-02-15T22:46:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixfngers](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sixfngers](https://forum.kirupa.com/u/sixfngers)\
**Post date:** [February 15, 2006, 10:46pm UTC](https://forum.kirupa.com/t/dynamic-american-flag-waving-in-the-wind/178993/1 "2006-02-15T22:46:09Z")

</div>

take a look this was done for an online banner ad for the west wing dvd set. where it appears half the size and at 20% opacity.

the entire flag and the up and down movement is create dynamically.  
the movement on the edge is done with a tweened mask.

if you look at the code it is not optimized yet (cause i am a sloppy coder and i always go back and clean things up at a later date).
