Write a program that finds the closest point of a line segment to another point. Randomly pick a point and color it in blue. Also, randomly generate several lines. Find
What will happen to a large number of randomly moving objects if you let them follow only one rule: try to move in the same direction as your neighbors do.