File:PenroseTilingFilled0.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 56 × 54 pixels, file size: 3 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

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
 
W3C-validity not checked.

Generated with[edit]

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[edit]

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[edit]

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[edit]

Public domain 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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:24, 24 January 2011Thumbnail for version as of 20:24, 24 January 201156 × 54 (3 KB)NightElfik (talk | contribs){{Information |Description ={{en|1=Zero iteration (axiom) of L-system of Penrose tiling}} {{cs|1=Nultá iterace (axiom) L-systému Penroseova dláždění}} |Source ={{own}} |Author =NightElfik |Date = |Per

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: