Difference between revisions of "Circle approximation"

From JSXGraph Wiki
Jump to navigationJump to search
(New page: <jsxgraph width="600" height="600" box="box"> var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 300, originY: 300, grid:true, unitX: 50, unitY: 50}); var n = brd.createElement('...)
 
Line 5: Line 5:
 
var p0 = brd.createElement('point',[0,0]);
 
var p0 = brd.createElement('point',[0,0]);
 
var p1 = brd.createElement('point',[2,0]);
 
var p1 = brd.createElement('point',[2,0]);
var c ? brd.createElement('circle',[p0,p1]);
+
var c = brd.createElement('circle',[p0,p1]);
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 11:01, 24 June 2009

The underlying JavaScript code

</jsxgraph>