Circular arc approximation by cubic Bezier curve: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 33: Line 33:


var b = brd.create('curve', JXG.Math.Numerics.bezier([A,P1,P2,B]),  
var b = brd.create('curve', JXG.Math.Numerics.bezier([A,P1,P2,B]),  
               {strokecolor:'black', strokeOpacity:0.6, strokeWidth:1});  
               {strokecolor:'black', strokeOpacity:1, strokeWidth:3});  





Revision as of 12:31, 1 July 2012

The underlying JavaScript code