Dragon curve: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 1: | Line 1: | ||
For an explanation see [[L-systems]].  | For an explanation see [[L-systems]].  | ||
<html>  | <html>  | ||
<form><textarea id="inputtext0" rows=15 cols=35 wrap="off" style="width:600px;">  | <form><textarea id="inputtext0" rows=15 cols=35 wrap="off" style="width:600px;">  | ||
var level = 8;  | var level = 8;  | ||
| Line 28: | Line 26: | ||
<input type="button" value="clear" onClick="clearturtle(0)">  | <input type="button" value="clear" onClick="clearturtle(0)">  | ||
</form>  | </form>  | ||
<  | </html>  | ||
<jsxgraph width="600" height="400" box="box0">  | |||
var t;  | var t;  | ||
var turtle = [];  | var turtle = [];  | ||
| Line 111: | Line 109: | ||
   turtle[nr].cs();  |    turtle[nr].cs();  | ||
}  | }  | ||
</  | </jsxgraph>  | ||
* Przemyslaw Prusinkiewicz, James Hanan: Lindenmayer Systems, Fractals, and Plants (Lecture Notes in Biomathematics). Springer-Verlag 1989, ISBN 0-387-97092-4  | * Przemyslaw Prusinkiewicz, James Hanan: Lindenmayer Systems, Fractals, and Plants (Lecture Notes in Biomathematics). Springer-Verlag 1989, ISBN 0-387-97092-4  | ||
Revision as of 09:39, 25 March 2011
For an explanation see L-systems.
- Przemyslaw Prusinkiewicz, James Hanan: Lindenmayer Systems, Fractals, and Plants (Lecture Notes in Biomathematics). Springer-Verlag 1989, ISBN 0-387-97092-4
 - http://en.wikipedia.org/wiki/L-system
 - http://en.wikipedia.org/wiki/Space-filling_curve