Click the flag to generate a random Bézier curve with a random amount of control points. This is an implementation of De Casteljaus's algorithm in Scratch to draw Bézier curves. A version that just draws the Bézier curve without the lines is in the project as well. It's a custom block called "draw curve". Unlike my "Better Bezier Curves" project, this draws the curve correctly when it has more than three control points.
https://en.wikipedia.org/wiki/De_Casteljau%27s_algorithm https://javascript.info/bezier-curve I just realized my code looks kinda similar to https://scratch.mit.edu/projects/558910250/ but I promise I did not copy them lol