N-gones - Slow version: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<html> | <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/prototype.js"></script> | |||
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script> | |||
<form><textarea id="inputtext" rows=12 cols=35 wrap="off" style="width:600px;"> | <form><textarea id="inputtext" rows=12 cols=35 wrap="off" style="width:600px;"> | ||
function mn_eck(ne,sz) { | function mn_eck(ne,sz) { | ||
Line 21: | Line 24: | ||
</html> | </html> | ||
<jsxgraph width="600" height="600"> | <html> | ||
<!--<jsxgraph width="600" height="600">--> | |||
<div id="jxgbox" class="jxgbox" style="width:600px; height:600px;"></div> | |||
<script language="JavaScript"> | |||
var brd = JXG.JSXGraph.initBoard('jxgbox', {originX:300, originY:300, unitX:1, unitY:1}); | var brd = JXG.JSXGraph.initBoard('jxgbox', {originX:300, originY:300, unitX:1, unitY:1}); | ||
var t = brd.createElement('turtle',[],{fillColor:'yellow'}); | var t = brd.createElement('turtle',[],{fillColor:'yellow'}); | ||
Line 34: | Line 40: | ||
} | } | ||
//runturtle(); | //runturtle(); | ||
</jsxgraph> | </script> | ||
<!--</jsxgraph>--> | |||
</html> | |||
[[Category:Examples]] | [[Category:Examples]] | ||
[[Category:Turtle Graphics]] | [[Category:Turtle Graphics]] |
Revision as of 15:53, 25 February 2009