Sierpinski arrowhead

Descargas:

Curva de punta de frecha de Sierpinski. wikipedia.

  • Sierpinski arrowhead L-System:

axiom=”X”;
rules=[“X=YF+XF+YF”,”Y=XF-YF-XF”, “F=”];
angle=60;

  • Sierpinski arrowhead hexagon L-System:

axiom = (n%2)==0 ? “FYFF+FYFF+FYFF+FYFF+FYFF+FYFF” :
“YF-YF+YF-YF+YF-YF”;
rules=[“X=YF+XF+Y”,”Y=XF-YF-X”];
angle=60;

  • Sierpinski arrowhead star L-System:

axiom = (n%2)==0 ? “YF-YF-YF-YF-YF-YF” :
“YF+YF+YF+YF+YF+YF”;
rules=[“X=YF+XF+Y”,”Y=XF-YF-X”];
angle=60;

Categories: , , ,