Difference between revisions of "N-gones"

From JSXGraph Wiki
Jump to: navigation, search
 
Line 28: Line 28:
 
<jsxgraph box="box" width="600" height="600">
 
<jsxgraph box="box" width="600" height="600">
 
var brd = JXG.JSXGraph.initBoard('box', {boundingbox: [-300, 300, 300, -300]});
 
var brd = JXG.JSXGraph.initBoard('box', {boundingbox: [-300, 300, 300, -300]});
var t = brd.createElement('turtle',[],{fillColor:'yellow'});
+
var t = brd.create('turtle',[],{fillColor:'yellow'});
 
function run() {
 
function run() {
 
   brd.suspendUpdate();
 
   brd.suspendUpdate();

Latest revision as of 11:13, 6 August 2015


Output

References

This example is from