Difference between revisions of "Islands and lakes"

From JSXGraph Wiki
Jump to navigationJump to search
Line 95: Line 95:
 
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 20: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