The reusable package is built on a small set of geometry and utility types.
Vec2Vec2 is the package's 2D vector type. It provides:
Norm()Dot()Cross()CubicBezierCubicBezier evaluates and differentiates cubic segments in normalized local
space. It is used for:
BezierPathBezierPath collects commands in a transport-friendly form:
MoveToLineToCurveToClosePathMarkThe same structure is used for SVG serialization and approximate hit testing.
MathUtils and PolynomialMathUtils centralizes low-level numerical helpers such as:
Mod2PiPolynomial is a small coefficient-based helper used in the curvature-adjusted
rendering path.