# \[8\] Poke the Ball (webcam)

**URL:** <https://forum.kirupa.com/t/8-poke-the-ball-webcam/167230>\
**Category:** open source\
**Created:** [October 26, 2005, 1:42pm UTC](https://forum.kirupa.com/t/8-poke-the-ball-webcam/167230 "2005-10-26T13:42:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eilsoe](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@eilsoe](https://forum.kirupa.com/u/eilsoe)\
**Post date:** [October 26, 2005, 1:42pm UTC](https://forum.kirupa.com/t/8-poke-the-ball-webcam/167230/1 "2005-10-26T13:42:05Z")

</div>

After creating fire, bubbles, fairy dust and whatnot with the bitmapdata in flash 8, I wanted to try and make a clip react to motion :beam:

[www.avalon-rev.dk/engine/newEngine.html](http://www.avalon-rev.dk/flash/engine/newEngine.html)

Writes and copies bitmapdata per frame, then creates a black/green image from the differenced images, creates motionpoints per 5th triggered point. The ball reacts according to each motionpoints position 🙂

fla: [www.avalon-rev.dk/engine/newEngine.fla](http://www.avalon-rev.dk/flash/engine/newEngine.fla)

video: www.avalon-rev.dk/flash/engine/newEngine.rar

\*requires webcamera and plash player 8
