SuperCollider CLASSES (extension)

BSpline

A BSpline
Source: /home/egor/.local/share/SuperCollider/downloaded-quarks/splines/Spline.sc
Inherits from: LinearSpline : Object

Description

Adapted from wslib, who adapted it from http://ibiblio.org/e-notes/Splines/Bint.htm

See http://en.wikipedia.org/wiki/B-spline

To be honest I haven't figured out which B-Spline this is

(
l = BSpline({ { 4.0.rand } ! 2 } ! 9);
l.gui
)

Class Methods

*new (points, order: 2, isClosed: false)

(describe method here)

Arguments:

points

(describe argument here)

order

(describe argument here)

isClosed

(describe argument here)

Returns:

(returnvalue)

*defaultOrder

(describe method here)

Returns:

(returnvalue)

Inherited class methods

Instance Methods

-order

-order = value

(describe method here)

Returns:

(returnvalue)

-storeArgs

(describe method here)

Returns:

(returnvalue)

-value (u)

(describe method here)

Arguments:

u

(describe argument here)

Returns:

(returnvalue)

-interpolate (divisions: 128)

(describe method here)

Arguments:

divisions

(describe argument here)

Returns:

(returnvalue)

-bSplineIntControls (list)

(describe method here)

Arguments:

list

(describe argument here)

Returns:

(returnvalue)

-bSplineIntDeltaControls (list)

(describe method here)

Arguments:

list

(describe argument here)

Returns:

(returnvalue)

-splineIntFunctionArray (list, i, x1array, x2array)

(describe method here)

Arguments:

list

(describe argument here)

i

(describe argument here)

x1array

(describe argument here)

x2array

(describe argument here)

Returns:

(returnvalue)

-splineIntPart1 (list, x1, x2)

(describe method here)

Arguments:

list

(describe argument here)

x1

(describe argument here)

x2

(describe argument here)

Returns:

(returnvalue)

-splineIntPart2 (list, i)

(describe method here)

Arguments:

list

(describe argument here)

i

(describe argument here)

Returns:

(returnvalue)

-++ (thou)

(describe method here)

Arguments:

thou

(describe argument here)

Returns:

(returnvalue)

-sliceDimensions (dims)

(describe method here)

Arguments:

dims

(describe argument here)

Returns:

(returnvalue)

-guiClass

(describe method here)

Returns:

(returnvalue)

Inherited instance methods

Examples

(some example code)