Difference between revisions of "Bezier curves II"

From JSXGraph Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
The red points are connected by a cubic Bezier curve. The blue points are the control points.
 
The red points are connected by a cubic Bezier curve. The blue points are the control points.
  
Here, the Bezier curve together with its scaffolds is shown.
+
Here, the Bezier curve together with its scaffolds is shown. The black points are always the midpoints of their line segment.
 
<jsxgraph width="600" height="600">
 
<jsxgraph width="600" height="600">
 
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-4,4,4,-4],keepaspectratio:true,axis:true});
 
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-4,4,4,-4],keepaspectratio:true,axis:true});

Revision as of 13:21, 28 September 2009

The red points are connected by a cubic Bezier curve. The blue points are the control points.

Here, the Bezier curve together with its scaffolds is shown. The black points are always the midpoints of their line segment.

The underlying JavaScript code