bezierSpline
Takes a LineString and returns a curved version by applying a Bezier spline algorithm.
The bezier spline implementation is a port of the implementation by Leszek Rybicki used in turfjs.
Return
A LineString containing a curved line around the positions of the input line
Parameters
resolution
t-step between points in the output data. A smaller t-step creates more points, resulting in a smoother curve. A larger t-step generates fewer points, which can result in a jagged, inaccurate curve.
sharpness
a measure of how curvy the path should be between splines