Home > Article > Software Tutorial > Detailed method of making Bezier curve using geometric sketchpad
Establish a rectangular coordinate system. Open the geometric sketchpad, click the [Draw] menu, and select the [Define Coordinate System] command to establish a rectangular coordinate system.
Draw 4 points A, B, C, D arbitrarily in the plane, and measure their horizontal and vertical coordinates xA, yA, xB, yB, xC, yC, xD, yD.
Create 2 functions. Click [Data] - [New Function] command to create the following function:
f(x)=xA*(1-x)3 3*xB*x*(1-x)2 3* xC*x2*(1-x) xD*x3
g(x)=yA*(1-x)3 3*yB*x*(1-x)2 3*yC*x2*( 1-x) yD*x3
Select f(x) and g(x), click the [Draw] menu, select the [Draw Parametric Curve] command, and select the drawing parameters in the pop-up Click the [Draw] button in the curve dialog box, and a Bezier curve is generated.
The above is the detailed content of Detailed method of making Bezier curve using geometric sketchpad. For more information, please follow other related articles on the PHP Chinese website!