Difference between revisions of "L-systems"

From JSXGraph Wiki
Jump to navigationJump to search
Line 238: Line 238:
 
                
 
                
 
var angle = 90;
 
var angle = 90;
var len = 300/Math.pow(3,level);
+
var len = 500/Math.pow(3,level);
 +
t.setPos(250,-250);
 
</textarea><br />
 
</textarea><br />
 
<input type="button" value="run" onClick="run(4)">
 
<input type="button" value="run" onClick="run(4)">
Line 249: Line 250:
 
</script>
 
</script>
 
</html>
 
</html>
 
  
 
===Hexagonal Gosper curve===
 
===Hexagonal Gosper curve===

Revision as of 22:00, 30 December 2008

Sierpinski curve



Quadratic snowflake variation


Dragon curve


Islands and lakes



Peano curve


Hexagonal Gosper curve


Plant 1



Plant 2



Hexagonal kolam


Mango kolam



Penrose tiling