Cool. I expected to see little poofs of green near individual dots... the "Green Bloom" was more rapid than I expected. But then, I am not an insect biologist :-)
I was wrong to say that the number of turtles increases linearly over time (it was exponential).
But I can make a version that increases the number of turtles linearly (or any other pattern) and the same thing happens when the density reaches to certain level. In other words, the phase change happens regardless how the density gets to the threshold. A graph shows a single variable, but the point of this simulation is that you don't need a single variable that controls the phase change (it is about distributed dicision making).
So... I still wonder what kind of graph would be interesting. I uploaded a version with linear increase and with a graph that shows the number of turtles, but it is not very interesting. Perhaps I can show the total amount of pheromone in the system but the "greenness" provides it. I could show the average pheromone turtles are sensing, but again that number is a function of density...
This is a great model. I agree that a graph would be a really interesting addition. I also like the fact that you bring this to real life by mentioning the social insects.
I remember commenting on this before but can not see it now. Anyway... Thank you Yoshiki for remixing. There was a couple of issues that I was not able to fix like the global variable you mentioned that is fixed in this project. Kedama is a great plugin and we are thankfull to you for creating it.
I fixed the second appearance of "secrete" in the 3rd paragraph. Showing little poofs while keeping them trigger the "bloom" should be possible by just changing a few parameters... The numbers in the ticking script and reset script are all you need.
I put the wachers for the bacteria count. But it is just increasing linearly. The point Nevit wanted to make was that you don't need a global coordinator to make the "tipping" happens. IOW, there may not be a meaningful single representative value other than the density that dicates the probability of a guy senses other guys smell. But the density is just the inverse of bacteria count.
Be interesting to see at when the "tipping point" occurs. Maybe a graph like rcaton had mentioned?
BTW, a good job on the all server side stuff, Tim!
Yoshiki, what did you change? It wasn't immediately clear to me.
Great use of Kedama. One small point - secrete in the 3rd paragraph should be plural. It might be nice to display some data, such as the number of visible bacteria - maybe a plot with time.
Hmm, I could show both the number of turtles and the number of turtles who are sensing enough pheromone on the same scale. In that way, you can show the quickness of the quorem sensing.
Website contents under a Creative Commons license.