ACB represents a string of length L pinned at A and B, and used to draw an ellipse. D is the center of the incircle of the triangle ABC. Drag C and observe the locus of point D.

L

|AB|/2

You can change the length of the string (L), or the distance AB.