Cardiod via chords of a circle

Slider "n" determines the number of points evenly distributed around a circle.[br]Slider "m" cycles through those points, drawing a cord originating from the nth point, labeled "A."[br]As point A increments one position at a time, slider "coeff" determines the number of positions that endpoint "B" jumps.[br]With a little playing around, it should become evident what any other sliders/toggles do.

Information: Cardiod via chords of a circle