Package-level declarations

Functions

Link copied to clipboard
fun findContours(f: (Vector2) -> Double, area: Rectangle, cellSize: Double, useInterpolation: Boolean = true): List<ShapeContour>

Find contours for a function f using the marching squares algorithm. A contour is found when f(x) crosses zero.