TAS only obviously. Don't expect a human to move a mouse that fast and precisely. Press q for a 20-gon perfect solution (not icosagon) Press e for a wacky line solution Press r for a random solution Press h for a human best solution. (move pixel by pixel method) ...Why do I put so much effort in this... Why... Also @SaltyTree , if you want to remove these silly solutions. Maybe use the shortest distance from the line to the origin instead of the position of the point itself, and don't add pre-existing position if it exist. Google "shortest distance between a point and a line with 2D cartesian coordinates" for the formula.