Points are defined as np.array([x,y]) x = point[0] y = point[1] Graphic resource owners: 'https://www.freepik.com/vectors/city' City vector created by macrovector - www.freepik.com "https://www.freepik.com/vectors/technology" Technology vector created by pch.vector - www.freepik.com "https://www.flaticon.com/free-icons/spaceship" title="spaceship icons" Spaceship icons created by smalllikeart - Flaticon