L-systems: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 148: | Line 148: | ||
<html> | <html> | ||
<form><textarea id=" | <form><textarea id="inputtext2" rows=3 cols=35 wrap="off" style="width:600px;"> | ||
</textarea><br /> | </textarea><br /> | ||
<input type="button" value="run" onClick="run( | <input type="button" value="run" onClick="run(2)"> | ||
<input type="button" value="clear" onClick="clearturtle( | <input type="button" value="clear" onClick="clearturtle(2)"> | ||
</form> | </form> | ||
<div id=" | <div id="box2" class="jxgbox" style="width:600px; height:600px;"></div> | ||
<script language="JavaScript"> | <script language="JavaScript"> | ||
brd[ | brd[2] = JXG.JSXGraph.initBoard('box2', {originX: 300, originY: 300, unitX: 1, unitY: 1}); | ||
turtle[ | turtle[2] = new JSXTurtleObj(brd[2]); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 19:46, 30 December 2008
Sierpinski curve
Quadratic snowflake variation
Dragon curve