Difference between revisions of "Circular arc approximation by cubic Bezier curve"

From JSXGraph Wiki
Jump to navigationJump to search
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 14:31, 1 July 2012

The underlying JavaScript code