4 ms·
Ant colony simulator
- tectonic 16y agoI did a pretty well-received ant harvesting simulation in second life a while ago. http://www.youtube.com/watch?v=ehEzRUu4_RM http://www.youtube.com/watch?v=ehEzRUu4_RM
- fmw 16y agoThis 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 http://blip.tv/file/812787 [2] http://clojure.googlegroups.com/web/ants.clj?gda=T0C_CjoAAADKqc_OBXvAPFRl94RaAIUvcpc6E-YHRrsRh9IuR-MtA-9OU0NQiFWgQuhmPR7veGf97daDQaep90o7AOpSKHW0 http://clojure.googlegroups.com/web/ants.clj?gda=T0C_CjoAAAD...
- reubenyeah 16y agoRepeatedly crashes on Windows 7.
- charlief 16y agoA 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 http://en.wikipedia.org/wiki/SimAnt
- amackera 16y agoShould also mention that SimAnt is awesome.
- harisenbon 16y agoShould 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.
- patio11 16y agoThat "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."
- DrStalker 16y agoSimant 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.
- wengzilla 16y agoSim Ant... Brings back some really good memories.
- josh33 16y agoReminds me of Michael Crichton's "Prey". Let's hope they can't apply these rules to something living.
- jacques_chester 16y agoA 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&tid=5368 http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&...
- arctangent 16y agoCoincidentally, I mentioned this recently in response to a thread about how traffic jams form: http://news.ycombinator.com/item?id=2295135 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.
- cma 16y agoPick 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).
- jacques_chester 16y agoIt's in my back log.
- jacques_chester 16y agoI 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/ http://ccl.northwestern.edu/netlogo/
- taylorbuley 16y agoI 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 http://news.ycombinator.com/item?id=2277553
- gourneau 16y agoAnyone want to write a HTML5 version? Where the ants are each Erlang processes?
- fdb 16y agoWe'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 http://nodebox.net/code/index.php/Ants
- phlux 16y agoHOLY 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
- arctangent 16y agoI 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...
- shasta 16y ago"- Magnifier: zoom in and zoom out." Aw, I was hoping the magnifier did something else.