a cubic bezier
scripted update of code from master at 0dd76c6 a cubic bezier