I'm calculating individual points in the curve (one for each iteration) and then connecting those points with lines.