vsketch.curves#
Overview#
|
Compute a piece-wise linear path approximating a quadratic bezier. Length of individual |
|
Evaluate a bezier curve at a given point, based on t in [0, 1]. |
|
Evaluate a bezier curve at a given point, based on t in [0, 1]. |
Functions#
- vsketch.curves.cubic_bezier_path(x1: float, y1: float, x2: float, y2: float, x3: float, y3: float, x4: float, y4: float, detail: float) numpy.ndarray #
Compute a piece-wise linear path approximating a quadratic bezier. Length of individual segments is close to but never greater than
detail
.