L-systems: Difference between revisions

From JSXGraph Wiki
No edit summary
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 20: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