I'm new to processing and doing an assignment.
The assignment asks that when you click a mouse an ellipse is drawn at a point between the previous ellipse and the mouse pointer and that the new ellipse transitions from black to red.
The program runs, the ellipse is drawn and the colour change occurs.
the problem is that if you click the mouse again before the animation stops on the previous ellipse the animation ceases to run to its conclusion.
i know its a simple solution and its on the tip of my tongue but i cant seem to think of anything that isn't really clunky code wise. is there a way to use a boolean function to disable the mouseClick or should i have the ellipse drawn in its final stage once more so that the colour difference is not there.
or even better is there a best way im not aware of yet.