|
Sierpinski Pyramid
Sierpinski Pyramid.lin:
gamma=54.73561032
axiom=!(1.2)/(20)&(90)X(1)
X(a):(a<4)->X(a+1)[-(30)f+(30)X(a+1)][+(30)f-(30)X(a+1)][^f&X(a+1)]
X(a):(a>1)->[{-(30)ff+(120)ff+(120)ff}][{-(30)ff+(150)^ff&+(60)&ff}][{+(30)
ff-(150)^ff&-(60)&ff}]
f->ff;
|
|
Megner Sponge
Megner Sponge.lin:
gamma=90
axiom=/(45)X(1)
X(a):(a<2)->[X(a+1)cX(a+1)cX(a+1)+c[-X(a+1)]c[-X(a+1)]][+c[-X(a+1)]
c[-X(a+1)cX(a+1)]][^c&[X(a+1)ccX(a+1)+cc[-X(a+1)]]+cc-X(a+1)
][^cc&[X(a+1)cX(a+1)cX(a+1)+c[-X(a+1)]c[-X(a+1)]][+c[-X(a+1)]
c[-X(a+1)cX(a+1)]]]
X(a):(a=3)->[[{f+f+f+f}]^{f+f+f+f}\^{f+f+f+f}][f^{f+f+f+f}][+f^-{f+f+f+f}]
[^f&{f+f+f+f}]
c->f
f->fff
|
|
my 3D Star
sternfractal.lin:
gamma=54.73561032
axiom=!(0.05)f+(50)X(2)
X(a)->[-(30)FF[+(120)F[+(90)/(180)X(a+1)][-(90)^/(180)&X(a+1)]F]+(150)^
FF][+(30)FF-(150)^FF][^F[-(90)&X(a+1)][+(90)&X(a+1)]F][-(30)ff{
+(120)ff+(150)^ff&+(60)&ff}][{-(30)ff+(120)ff+(120)ff}][{-(30)ff+(150)^
ff&+(60)&ff}][{+(30)ff-(150)^ff&-(60)&ff}]
f->ff
F->FF
|
|
3D Fractal
3D Fractal01.lin
gamma=90
axiom=/(30)AX
X->[AX][--AX][^AX][^--AX][+/AX][-\AX]
A->ffffff[-f^f-f++[[[{ff+ff+ff+ff}]^{ff+ff+ff+ff}\^{ff+ff+ff+ff}][ff^{ff+ff+ff+ff}]
[+ff^-{ff+ff+ff+ff}][^ff&{ff+ff+ff+ff}]]]
f->fff
|
|
3D Hilbert Curve
3D Hilbert Curve.lin
gamma=90
axiom=ffffffA
A->B-F+CFC+F-D&F^D-F+&&CFC+F+B//
B->A&F^CFB^F^D^^-F-D^|F^B|FC^F^A//
C->|D^|F^B-F+C^F^A&&FA&F^C+F+B^F^D//
D->|CFB-F+B|FA&F^A&&FB-F+B|FC//
|