Hexagonal Gosper curve: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 98: Line 98:
function run(nr) {
function run(nr) {
   brd[nr].suspendUpdate();
   brd[nr].suspendUpdate();
   var code = $('inputtext'+nr).value;
   var code = document.getElementById('inputtext'+nr).value;
   if (code=='') { return; }
   if (code=='') { return; }
   t = turtle[nr];
   t = turtle[nr];

Revision as of 19:42, 29 October 2009

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