Add Bézier playground at /bezier#164
Merged
Merged
Conversation
De Casteljau levels computed for 2-8 control points: each level lerps adjacent pairs at t, and the final singleton is the curve point. The construction renders as nested colored polylines with the white curve point riding the green curve; t ping-pongs automatically or scrubs manually (scrubbing pauses the animation). Drag points, click empty space to add up to 8 (degree name shown: linear through septic), double-click to remove down to 2. Construction lines can be toggled to see just the curve. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgEKRuVdor8KhaiPkv38aQ
✅ Deploy Preview for ianalloway ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ianalloway
marked this pull request as ready for review
July 19, 2026 04:42
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
# Conflicts: # src/App.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/bezier— an interactive De Casteljau visualizer for Bézier curves of degree 1–7src/features/bezier/decasteljau.ts: De Casteljau level computation for any point count, curve-point evaluation, polyline sampling, defaultssrc/pages/Bezier.tsx: draggable control points (add by clicking, remove by double-click), animated ping-pong t with manual scrub, color-coded construction levels, degree name readoutsrc/App.tsx: lazy-loaded/bezierroute with SEO metadataHow it works
Test plan
/bezier— cubic curve with 4 numbered points, construction sweeping automaticallyGenerated by Claude Code