Registry / utility / curvesapi

curvesapi

JSON →
library1.08javamavenunverified

Implementation of various mathematical curves that define themselves over a set of control points, supporting Bezier, B-Spline, Cardinal Spline, Catmull-Rom Spline, Lagrange, Natural Cubic Spline, and NURBS.

<dependency> <groupId>com.github.virtuald</groupId> <artifactId>curvesapi</artifactId> <version>1.08</version> </dependency>
INSTALL
IMPORT
SIG · CURVESAPI
C
curvesapi
utilityjavav1.08
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Curve
com.virtuald.curvesapi.Curve

Creates a Bezier curve from control points and evaluates a point on the curve.

import com.virtuald.curvesapi.Curve; import com.virtuald.curvesapi.BezierCurve; public class Quickstart { public static void main(String[] args) { double[] controlPoints = {0, 0, 1, 1, 2, 0}; Curve curve = new BezierCurve(controlPoints); double[] point = curve.evaluate(0.5); System.out.println("Point at t=0.5: (" + point[0] + ", " + point[1] + ")"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.08latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
curvesapi — mvn dependency:get curvesapi · libregistry