Darwinbots Forum

General => Off Topic => DB Art => Topic started by: Ammeh on September 16, 2010, 12:06:24 PM

Title: Swarm Art
Post by: Ammeh on September 16, 2010, 12:06:24 PM
Just thought this looked cool. The bot is Animal_Swarm.

Title: Re: Swarm Art
Post by: Numsgil on September 16, 2010, 12:22:38 PM
Interesting circle in the middle.  What causes that?
Title: Re: Swarm Art
Post by: Ammeh on September 17, 2010, 09:27:45 AM
These two genes:

Code: [Select]
cond
 *.refeye *.myeye =
 *.eye5 0 = or
 *.totalmyspecies rnd *.timer 5 mult add 32000 mod dup dist *.totalmyspecies <
start
 314 rnd .aimdx store
stop


cond
 *.totalmyspecies rnd *.timer 5 mult add 32000 mod dup dist *.totalmyspecies >
 *.refeye *.myeye =
 *.eye5 0 = or
start
 *.totalmyspecies rnd *.timer 5 mult add 32000 mod dup angle .setaim store
 10 .up store
stop

Basically: The swarm moves toward a certain point based on *.timer, but allows a maximum distance from that point based on *.totalmyspecies.

I've never seen it quite so well defined though, which made me want to share :)
Title: Re: Swarm Art
Post by: spike43884 on December 13, 2014, 06:35:23 AM
Hmm...so its a pack-bot