react-three-nurbs
Version:
A React component library for NURBS (Non-Uniform Rational B-Spline) curves, surfaces, and solids in Three.js. Built with React Three Fiber, zero external NURBS dependencies — all math implemented from scratch. Boolean operations powered by OpenCASCADE WAS
9 lines (8 loc) • 418 B
TypeScript
import type { LineProps } from "@react-three/drei";
export interface InterpolatedCurveProps extends Omit<LineProps, "points" | "resolution"> {
throughPoints: number[][];
degree?: number;
resolution?: number;
color?: string;
}
export declare const InterpolatedCurve: ({ throughPoints, degree, resolution, color, ...lineProps }: InterpolatedCurveProps) => import("react/jsx-runtime").JSX.Element | null;