[WASD / arrow keys / click on the screen] to move the player (red dot). This project demonstrates a robust collision detection algorithm between a point and a list of line segments. It is not possible to travel through line segments at any reasonable speed. The point will slide along line segments to reach the target as close as possible (which in this case is a point offset by the velocity). See inside the project to see how it is implemented (includes a few comments). A future improvement to make would be to add friction as this would open up possibilities for platformers. This project improves on the techniques used in Mini Golf and The Mast where such a feature isn't needed.