L-systems: Difference between revisions

From JSXGraph Wiki
Line 363: Line 363:
<html>
<html>
<form><textarea id="inputtext8" rows=3 cols=35 wrap="off" style="width:600px;">
<form><textarea id="inputtext8" rows=3 cols=35 wrap="off" style="width:600px;">
var level = 12;
var level = 4;
var axiom = 'X';
var axiom = 'X';
var rules = {
var rules = {
Line 384: Line 384:
                
                
var angle = 60;
var angle = 60;
var len = 100/(level);
var len = 300/(level);
t.setPos(0,-250);
</textarea><br />
</textarea><br />
<input type="button" value="run" onClick="run(8)">
<input type="button" value="run" onClick="run(8)">

Revision as of 20:10, 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