An extension bar is attached to one of the moving nodes of a four bar linkage. The end point of the extension bar follows a closed curve while the four bar linkage is rotated. With this Demonstration you can explore possible closed curves by varying the lengths of bars and the angle of the extension bar.
Sándor Kabai "Plotting Closed Curves with a Four Bar Linkage"