# Peter Organa's Entry #2 - The Swarm (in color!)

**URL:** https://forum.kirupa.com/t/peter-organas-entry-2-the-swarm-in-color/279855
**Category:** contests
**Created:** [January 20, 2009, 12:52am UTC](https://forum.kirupa.com/t/peter-organas-entry-2-the-swarm-in-color/279855 "2009-01-20T00:52:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Enebreus](https://avatars.discourse-cdn.com/v4/letter/e/f475e1/32.png) [@Enebreus](https://forum.kirupa.com/u/Enebreus)
#### Post date: [January 20, 2009, 12:52am UTC](https://forum.kirupa.com/t/peter-organas-entry-2-the-swarm-in-color/279855/1 "2009-01-20T00:52:08Z")

</div>

Alright, my second entry in the FXpression 09 contest.

You can see the entry here:

[http://blog.organa.ca/flashContent/contest/swarm.html](http://blog.organa.ca/flashContent/contest/swarm.html)

Make sure to use your mouse to interact.

EDIT:  
Hey guys, in case you wanted to write your own swarms at home here’s a link to my blog entry about writing the swarm which includes a link to earlier source code:  
[http://blog.organa.ca/?p=34](http://blog.organa.ca/?p=34)

That version doesn’t support as many guys on screen at once but the vector angle calculations are exactly the same as what you see in the newest (contest) version.

I hope to work on a blog post describing how I handled the broad level hit detection (what lets me get so many on screen at once) soon. I’ll be sure to write about it here when I do.
