Example for
github.com/davidfig/bezierpoints/