Difference between revisions of "N-gones"

From JSXGraph Wiki
Jump to navigationJump to search
Line 32: Line 32:
 
<script language="JavaScript">
 
<script language="JavaScript">
 
var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, unitX: 1, unitY: 1});
 
var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, unitX: 1, unitY: 1});
var t = new JSXTurtleObj(brd);
+
var t = new JSXTurtleObj(brd,{fillColor:'yellow');
 
function run() {
 
function run() {
 
   brd.suspendUpdate();
 
   brd.suspendUpdate();

Revision as of 21:20, 22 December 2008


Output

References

This example is from