RectifiedContour
Functions
Convolutes the contour underlying this RectifiedContour with kernel.
Distorts the contour underlying this RectifiedContour using a distortion function that is evaluated on the rectified (proportional to contour length) t parameter.
Distorts the contour underlying this RectifiedContour using a distortion function that is evaluated on the rectified (proportional to contour length) t parameter.
Extracts the count lowest-frequency eigenmodes of this rectified contour's outline, ignoring its interior entirely -- the boundary-only counterpart to Shape.extractEigenModes. resolution parameters equidistant in rectified (arc-length) space are treated as a cycle graph, and its graph-Laplacian eigenvectors extracted; see org.openrndr.extra.math.eigenmodes.extractCycleEigenModes. A RectifiedContour is required rather than a plain ShapeContour specifically so that equal steps in t are equal steps in arc length -- true by construction here, since ts[i] = i / resolution in rectified space -- which is what the cycle graph's uniform edge weights assume.
Finds local maxima of f sampled along RectifiedContour, using arc-length-uniform sampling so that windowSize (expressed as a fraction of curve length) means the same thing everywhere on the contour, regardless of how unevenly the original contour's segments are distributed.
Computes an inverse rectified t-value for the given normalized t parameter. This method determines the original parameter space value from a rectified (uniformly distributed) parameter space value.
Blends two rectified contours by applying a blend function to their segments.
computes a rectified t-value for originalPath
Shifts the contour by a specified amount along its parameterized path. If the contour is not closed, it returns the original contour unaltered.
Split for blending with other
Warps the current contour by applying a distortion based on the provided basis and warp contours. The operation computes a mapping where the nearest position and normal of the basis contour are used to calculate the displacement applied to the warp contour, creating a warped result.