ScratchData LogoScratchData
Back to ThatCoder77471's profile

De Casteljau's Algorithm

THThatCoder77471•Created September 8, 2023
De Casteljau's Algorithm
3
3
13 views
View on Scratch

Instructions

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.

Description

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

Project Details

Project ID890937172
CreatedSeptember 8, 2023
Last ModifiedNovember 14, 2024
SharedSeptember 8, 2023
Visibilityvisible
CommentsAllowed