Drag each point around with the triangle. You can see the coordinates on the left. Press space to fill the triangle. The variable on the bottom is how long it took, so you can compare it to others.
I came up with the algorithm my self. How it works: 1) It figures out the line between each point. 2) For each point along that line: 3) Draw a point between that point and the point on the triangle opposite of the line.