In your homework, the number of interpolation points is set to a fixed value of 100. However, this might not be appropriate if the user draws a very long line (e.g. 100 kilometers) or a very short one (e.g. 10 meters). Consider how to determine the number of interpolation points based on the length of the line drawn by the user.
In your homework, the number of interpolation points is set to a fixed value of 100. However, this might not be appropriate if the user draws a very long line (e.g. 100 kilometers) or a very short one (e.g. 10 meters). Consider how to determine the number of interpolation points based on the length of the line drawn by the user.
This is a low-priority issue.