Figure Asymptote lsystem -- 021
🔗This picture comes from the Asymptote gallery of topic lsystem

Penrose tiling
Show lsystem/fig0210.asy on Github.
Generated with Asymptote 3.00-0.
Categories : Surveys | L-System
Tags : #L-System | #Tiling
import Lsystem; size(12cm,0); string[][] rules={ {"W", "YF++ZF----XF[-YF----WF]++"}, {"X", "+YF--ZF[---WF--XF]+"}, {"Y", "-WF++XF[+++YF++ZF]-"}, {"Z", "--YF++++WF[+ZF++++XF]--XF"}, {"F", ""} }; Lsystem Penrose=Lsystem("++ZF----XF-YF----WF",rules,La=36); Penrose.iterate(4); draw(Penrose.paths(), linewidth(bp)); shipout(bbox(2mm, FillDraw(lightyellow,linewidth(1mm))));