Package-level declarations
Functions
Link copied to clipboard
fun hobbyCurve(points: List<Vector2>, closed: Boolean = false, curl: Double = 0.0, tensions: (chordIndex: Int, inAngleDegrees: Double, outAngleDegrees: Double) -> Pair<Double, Double> = { _, _, _ -> Pair(1.0, 1.0) }): ShapeContour
Generates a smooth contour passing through a set of points based on Hobby's algorithm.
fun hobbyCurve(points: List<Vector3>, closed: Boolean = false, curl: Double = 0.0, tensions: (chordIndex: Int, inAngleDegrees: Double, outAngleDegrees: Double) -> Pair<Double, Double> = { _, _, _ -> Pair(1.0, 1.0) }): Path3D
Uses Hobby's algorithm to construct a Path3D through a given list of points.
Link copied to clipboard