This project was created for desktop computer programming classes.
So first of all is generate button and this button is used to generete points. The first point is blue, and the last one is red.
Second button is "Only Near" and this button is used to generate road by distance between current point and other points.
Third button is "By distance" and this button is used to generate road like button "Only Near", but in addition this button can generate road also by distance to the last point (red point).
Fourth button is "Clear" and this button is used to clear your jPanel.
To run Road, run this command on your git bash:
Linux and macOS:
sudo git clone https://github.com/MaciejMi/Road.git
Windows:
git clone https://github.com/MaciejMi/Road.git