Cardiod via chords of a circle

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