Lecture 7: Intro to Geometry, Splines, and Bezier Curves (92)
Gabe-Mitnick
Here's a video with beautiful animations that explains Bézier curves from the de Casteljau angle, and also shows how to compute a Bézier's derivatives, curvature, tangent and normal vectors, bounding box (tighter than the convex hull of the control points), arc length, and a re-parameterization that makes the "speed" of the curve uniform.
adham-elarabawy
I actually implemented de Casteljau's algorithm for fun a few years back, and you can see my code + visualization gif in this old repo of mine (scroll down on the readme until you see the visualization): https://github.com/adham-elarabawy/playground
I hope this is helpful for someone, in case anyone wanted to see the direct programmatic implementation!
Here's a video with beautiful animations that explains Bézier curves from the de Casteljau angle, and also shows how to compute a Bézier's derivatives, curvature, tangent and normal vectors, bounding box (tighter than the convex hull of the control points), arc length, and a re-parameterization that makes the "speed" of the curve uniform.
I actually implemented de Casteljau's algorithm for fun a few years back, and you can see my code + visualization gif in this old repo of mine (scroll down on the readme until you see the visualization): https://github.com/adham-elarabawy/playground
I hope this is helpful for someone, in case anyone wanted to see the direct programmatic implementation!