Geometry & Paths
NURBS Surface Review
What this shows
A smooth control-point surface represents a modeling form.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const curve = new EASEL.NURBSCurve(degree, knots, controlPoints);
const geometry = new EASEL.TubeGeometry(curve, 42, 0.22, 12);
const surface = new EASEL.NURBSSurface(degree1, degree2, knots1, knots2, surfaceControlPoints);
const surfaceGeometry = new EASEL.ParametricGeometry((u, v, target) => surface.getPoint(u, v, target), 18, 18);