Hacker News new | past | comments | ask | show | jobs | submit login
Ant colony simulator (not-equal.eu)
88 points by caustic on March 7, 2011 | hide | past | favorite | 23 comments



A more piecemeal simulation released by Maxis back in 1991. Possibly some inspirations (red ants vs black ants, food represented in green circles/spheres):

http://en.wikipedia.org/wiki/SimAnt


Should also mention that SimAnt is awesome.


Simant lost a lot of its appeal once I worked out I could enter a new zone and queen-rush the enemy with a 50/50 chance of winning, and just send in a new queen if I failed.

For me all the various SimSomething games were more about figuring the rules, limits and possible abuses of the simulation design than the intended actual game.


Should also second the mention that SimAnt is awesome.

I wasted many many of my childhood days playing that game, and feeling the rush everytime my hoard of ants took down a huge freaking spider.


That "revenge is mine" feeling is one of my favorite parts of RPGs.

"What's the matter, horde of orcs? You beat me twelve times when I was level four, why are you scared of me now? Could it be fireball? Oh I see it could. And what is this little stick I'm carrying? Still a nonmagical quarterstaff? Oh, wait, dropped that when I picked up the Wand of Lightning Bolt."


A good book exploring simple computational models of complex systems with emergent behaviour is Turtles, Termites and Traffic Jams by Michael Resnick.

http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&...


Coincidentally, I mentioned this recently in response to a thread about how traffic jams form: http://news.ycombinator.com/item?id=2295135

I picked up the book over ten years ago and it has had a huge influence on the way I think about things.


Pick up Thomas Schelling's Micro Motives and Macro Behavior; he originated many of these models (the most mind-blowing to me was that a small segregation preference among individuals balloons into way more segregation than was desired just because of physical constraints inherent in the geometry of neighborhoods).


It's in my back log.


I did a course on modelling complex systems for my honours studies; this was one of the recommended readings. I'm glad I bought it.

Most books about systems modelling refer to one of the commercial modelling programs. Or they are quite generic and hand-wavy. The nice thing about TTATJ is that the software (NetLogo) is downloadable[1]. The book is on the Kindle too, which is convenient.

[1] http://ccl.northwestern.edu/netlogo/


I love modeling traffic jams. Was one of my first hands-on experiments with NetLogo.

If you're like me, you might find interesting this recent paper on the topic of the economics of parking: http://news.ycombinator.com/item?id=2277553


This reminds me of Rich Hickey's Clojure Concurrency talk[1], where he uses a simulation of an ant colony to explain Clojure's concurrency features. Hickey's version[2] is a lot simpler, but remains an interesting starting point if you want to hack on something similar.

[1] http://blip.tv/file/812787

[2] http://clojure.googlegroups.com/web/ants.clj?gda=T0C_CjoAAAD...


"- Magnifier:

zoom in and zoom out."

Aw, I was hoping the magnifier did something else.


We've created a basic ant simulation as a Python library for NodeBox. NodeBox runs on Mac but the library is cross-platform.

http://nodebox.net/code/index.php/Ants


Anyone want to write a HTML5 version? Where the ants are each Erlang processes?


Reminds me of Michael Crichton's "Prey". Let's hope they can't apply these rules to something living.


I have a really beautiful simulation of ant foraging I coded up in Processing a while back. I'm currently porting all of this kind of work I have done to Python (via Pyglet) and will have to remember to post a link to it here when it's done. (See my profile info for linke to a very small sample.)

* Edit: "A very small sample" of the kind of thing I've been doing. No samples of the ant simulation to share just yet...


Sim Ant... Brings back some really good memories.


I did a pretty well-received ant harvesting simulation in second life a while ago.

http://www.youtube.com/watch?v=ehEzRUu4_RM


HOLY CRAP!

I have been picturing this software in my head since i was 15!

Although, my version was a game which you build 3d tunnels and Manage a triangle of resources/ant-classes


Repeatedly crashes on Windows 7.


Evidently the application is full of bugs.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: