Fit cubic béziers through a polyline (Schneider) with corner detection, so dense-point operators emit real curves
npx shadcn@latest add @remotionui/curve-fit
—
curve-fit