Fast n-th order bezier curve | ScratchStats