Dragon curve: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 32: | Line 32: | ||
var brd = [];  | var brd = [];  | ||
brd[0] = JXG.JSXGraph.initBoard('box0', {originX: 300, originY: 300, unitX: 1, unitY: 1});  | brd[0] = JXG.JSXGraph.initBoard('box0', {originX: 300, originY: 300, unitX: 1, unitY: 1});  | ||
turtle[0] = brd[0].  | turtle[0] = brd[0].create('turtle');  | ||
function expander(level,axiom,rules) {  | function expander(level,axiom,rules) {  | ||
Revision as of 09:51, 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