Fractal Polygons

From JSXGraph Wiki
Revision as of 13:10, 21 December 2008 by A WASSERMANN (talk | contribs) (New page: <html> <link rel="stylesheet" type="text/css" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css" /> <script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/pro...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


<script language="JavaScript"> var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, unitX: 1, unitY: 1}); var t = new JSXTurtleObj(brd); function run() {

 brd.suspendUpdate();
 var code = $('inputtext').value;
 if (code==) { return; }
 eval(code);
 $('logwindow').innerHTML += code+'\n';
 //$('inputtext').value = ;
 brd.unsuspendUpdate();

} function clearturtle() {

 t.cs();
 //$('inputtext').value = 't.fd(100);';

} </script>