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

From JSXGraph Wiki
Jump to navigationJump to search
Line 4: Line 4:
 
var M = brd.create('point', [0,0], {name:'M'});
 
var M = brd.create('point', [0,0], {name:'M'});
 
var c = brd.create('circle', [M,1]);
 
var c = brd.create('circle', [M,1]);
var A = brd.creade('glider', [1,0,c], {name:'A'});
+
var A = brd.creade('glider', [[1,0],c], {name:'A'});
 
var B = brd.creade('glider', [0,1,c], {name:'B'});
 
var B = brd.creade('glider', [0,1,c], {name:'B'});
 
</jsxgraph>
 
</jsxgraph>

Revision as of 13:15, 1 July 2012

The underlying JavaScript code