A utility that can use 18 kinds of curve algorithm.
- Unity 2018.3.0f2
An example of use of each curve algorithm is stored in "Example" folder.
var point = UnityCurveUtils.B_SplineCurve( x1, y1, x2, y2, x3, y3, t );
var point = UnityCurveUtils.BezierCurve( x1, y1, x2, y2, x3, y3, x4, y4, t );
var point = UnityCurveUtils.HyperbolicSpiral( a, c theta );
var point = UnityCurveUtils.WitchOfAgnesi( a, theta );
var point = UnityCurveUtils.FoliumOfDescartes( a, theta );
var point = UnityCurveUtils.Ellipse( a, b, theta );
var point = UnityCurveUtils.Hyperbola( a, b, theta );
var point = UnityCurveUtils.InvoluteOfCircle( a, theta );
var point = UnityCurveUtils.Strophoid( a, theta );
var point = UnityCurveUtils.Conchoid( a, l, theta );
var point = UnityCurveUtils.Cissoid( a, theta );
var point = UnityCurveUtils.LissajousCurve( A, B, a, b, delta, theta );
var point = UnityCurveUtils.Trochoid( rm, theta, rd );
var point = UnityCurveUtils.Epitrocoid( rc, rm, theta, rd );
var point = UnityCurveUtils.Hypetrocoid( rc, rm, theta, rd );
var point = UnityCurveUtils.Cycloid( rm, theta );
var point = UnityCurveUtils.Epicycloid( rm, rd, theta );
var point = UnityCurveUtils.Hypocycloid( rm, rd, theta );