With this project, I wanted to try a little AI. I'm not sure if I really ended up doing that to any significant effect, but the dots sure are entertaining to watch.
Basically, it's just a bunch of little circles that go around trying to keep themselves full by eating little green dots. If they are full long enough, they will reproduce, creating more dots that have similar characteristics to themselves. If they go too long without getting any green dots, they will die.
Over many generations of dots, their characteristics can change more and more. Sometimes they become very small and fast. Usually they become huge circles. This is especially entertaining because eventually they get so big, when the food happens to randomly appear in a corner, many of them sit in the corner trying to get to it, but are unable to because they are so large.
When I used to work on this while I was living in the dorms at college, people would gather around when they saw it on my screen. They would usually ask "What is that? What are they doing?" and would then start cheering for the dots to live and get bummed when the one they were watching would die. Even in writing this blog post I've had a couple people watch and ask questions, haha.
I've thought about adding more functionality to this little project, like the ability to control the speed of the simulation, and many of the attributes of the elements themselves (starting stats, food reproduction rate, dot reproduction rate, max number of food at once, max number of dots at once, food size, dot fertility, how different offspring can be from their parents...). I think it would be interesting to see what people could make the dots do.
Here's a link where you can see the dots for yourself: http://bradsproject.com/dots/
Try not to stare too long!


No comments:
Post a Comment