Several of my students would like programs they're working on to not only detect the color of the terrain in a specific location (we've got that set) but also to detect percentage of terrain of a specific color.
If making a game or simulation where the ground is burning, the color is going from green to black. Is there a way to detect the percentage of terrain which is black?
If it helps, we've been using the method of creating a breed called terrain, setting the size to 200, stamping it a specified color, then deleting the breed. That works well for creating an appearance, but we aren't seeing a way to measure coverage when, for example, we have fire spreading with pen down.