Trochoids

Trochoids are special roulettes where a circle rolls on a line without slipping. A point rotating with the circle generates the trochoid (red). Depending on the position of the generating point, the following three types are distinguished:

This browser doesn't support HTML5 canvas!