Difference between revisions of "Bezier curves"

From JSXGraph Wiki
Jump to: navigation, search
Line 19: Line 19:
 
p.push(brd.createElement('point',[2,-0.5],{strokeColor:col,fillColor:col}));      // data point
 
p.push(brd.createElement('point',[2,-0.5],{strokeColor:col,fillColor:col}));      // data point
  
var c = board.createElement('curve', JXG.Math.Numerics.bezier(p),{strokecolor:'blue', strokeOpacity:0.8, strokeWidth:3});  
+
var c = brd.createElement('curve', JXG.Math.Numerics.bezier(p),{strokecolor:'blue', strokeOpacity:0.8, strokeWidth:3});  
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 10:51, 28 September 2009