An interactive demo built with JavaScript and Three.js that compare Bézier curve and Catmull-Rom Curve, allowing you to compare their shapes using the same set of control points.
- Nix (
nix developmust be available) - A modern web browser
bash nix develop npm install
bash npm run dev
Open http://localhost:5173/ in your browser (assuming the default port).
| Command | Description |
|---|---|
npm run build |
Production build (output to dist/) |
npm run preview |
Preview the production build (default: http://localhost:4173/) |
flake.nix/flake.lock— Pins the Node.js version via Nixpackage.json— Declares npm dependencies (package-lock.jsonshould be committed if generated bynpm install)
node_modules/ and dist/ are excluded via .gitignore.
