Builds a 4-point Bezier/B-spline curve (ncca.ngl.BezierCurve) and draws the
sampled curve (white), its control polygon "hull" (red), and control points
(green dots).
- Left-drag : orbit.
- Right-drag : pan.
- Wheel : zoom.
space: reset.
- A Primer on Bézier Curves (Pomax) — an interactive walk through Bézier maths: Bernstein form, de Casteljau, splitting, arc length and more.
- Bézier curves (Paul Bourke) — concise notes and code for the curve evaluation used here.
- G. Farin, Curves and Surfaces for CAGD: A Practical Guide, 5th ed., Morgan Kaufmann 2002 — the standard text on Bézier/B-spline theory.
