File:PenroseTilingFilled0.svg
Summary
| Description |
English: Zero iteration (axiom) of L-system of Penrose tiling
Čeština: Nultá iterace (axiom) L-systému Penroseova dláždění |
| Date | |
| Source | Own work |
| Author | NightElfik |
Generated with
PenroseTilingFilled {
axiom = +(18)[N]++[N]++[N]++[N]++[N];
angle = 36;
palette = #000 #47d #fa0;
polyReverse = 1;
lateLinesDraw = 1;
step = 32;
i = 0;
margin = 16;
M => O++{(1)P.----N.[-O.----M}]++;
N => +{(2)O.--P.[---M.--N}]+;
O => -{(2)M.++N.[+++O.++P}]-;
P => --{(1)O.++++M.[+P.++++N}]--N;
}
Real coding
Letting away all the redundancies (2692 bytes), the remaining active code would be (420 bytes)
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="55.844212" height="53.947933"
viewBox="-46.433809 -41.888544 85.20325 83.76962">
<path stroke="#000" stroke-linecap="round" d="
m-3.7370159,3.0548266v-31.9999996
M-3.7370159,3.0548266 26.696984-6.8331738
M-3.7370159,3.0548266-34.171016-6.8331738
M-3.7370159,3.0548266-22.546016,28.943827
M-3.7370159,3.0548266 15.071984,28.943827"/>
</svg>
Simplification
The viewBox-transformation is of no advantage at all, it just conceals the used values.
Without viewBoxing and with a precision more than reasonable it would be (250 bytes)
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="56" height="54"> <path stroke="#000" stroke-linecap="round" d=" M28,29V8.336 M28,29 47.947,22.632 M28,29 8.053,22.632 M28,29 15.672,45.673 M28,29 40.328,45.673"/> </svg>
Licensing
| I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
Category:2D fractals
Category:Files by User:NightElfik
Category:Fractals created with Malsys
Category:Images with L-system source code
Category:L-systems
Category:Order 0
Category:PD-self
Category:PenroseTilingFilled (image set)
Category:SVG fractals
Category:Self-published work
Category:Unchecked SVG validity