module:extras/fourierknot
### module:extras/fourierknot()
The extras/fourierknot.js
module.
To import all symbols in this module, either of the following can be used:
import * from "extras/fourierknot.js"; // -- or -- import * as CustomModuleName from "extras/fourierknot.js";
Methods
- FourierKnot
A curve evaluator object that calculates a knot in the form of the Fourier series
F(u) = Σi=1, n a cos(iu) + b sin(iu).
### (static) module:extras/fourierknot.FourierKnot(a, b)
A curve evaluator object that calculates a knot in the form of the Fourier series
F(u) = Σi=1, n a cos(iu) + b sin(iu).
Parameters
a
(Type: Array.<Array.<number»)
The cosine coefficients.b
(Type: Array.<Array.<number»)
The sine coefficients.