This program is just a simple implementation of a perceptron.
The task is pretty simple.
First you put on the canvas a bunch of points with various colors (not so various in fact, just Green or Red). But they have to be linearly separable
Then just click on Run
And voilà.
Yes It's just an exercise to learn how to make a perceptron.