Two colors for one patch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Two colors for one patch

plalevee
This post has NOT been accepted by the mailing list yet.
Hello,

I am developing a model of physical track construction in ants and I have a problem. On my model, I show obstacles for the ants: they are represented by red patches. I now implement pheromones (the ants leave a trace behind them that diffuses and evaporates) and I do not know how to lay them on the obstacles. Indeed, it would be necessary that the obstacle patch (of the red color) could turn green during the time that the pheromone is present and then return to red thereafter. So how do you assign two colors to a patch?

Thank you for your help