Given a list of points compute a bezier curve from it.
- points: ndarray. Array of points with shape (N, 2) with N being the number of points and the second dimension representing the (x, y) coordinates.
- nb_points: Integer. Number of points to sample from the bezier curve.
This value must be larger than the number of points given in
points. Maximum value 10000.
ndarray: Array of shape (1000, 2) with the bezier curve of the
given path of points.
Apply Bresenham algorithm for a list points.
- points: ndarray. Array of points with shape (N, 2) with N being the number if points and the second coordinate representing the (x, y) coordinates.
ndarray: Array of points after having applied the bresenham algorithm.