Click the canvas to add green dots, and click on the dot to change its color between red and green.

When the mourse is on a green dot, the dot will become yellow, and when the mouse is on a red dot, the dot will become orange.