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
10 lines (9 loc) • 465 B
TypeScript
import type { LineProps } from "@react-three/drei";
export interface NurbsEllipseProps extends Omit<LineProps, "points" | "resolution"> {
center?: [number, number, number];
xaxis?: [number, number, number];
yaxis?: [number, number, number];
resolution?: number;
color?: string;
}
export declare const NurbsEllipse: ({ center, xaxis, yaxis, resolution, color, ...lineProps }: NurbsEllipseProps) => import("react/jsx-runtime").JSX.Element | null;