Is it a cubic (4-point) bézier curve? Looks like you edited the code to not render the individual points! Well done!