Jump to content

File:A code snippet for a rhombic repetitive pattern.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 600 × 600 pixels, file size: 1 KB)

Summary

Description
English:
A rectangular repetitive pattern becomes the rhombic pattern of the SVG image, through the following code snippet:   'patternTransform= "translate(42,147) scale(1.035) rotate(-15) skewX(-30)"' .  This composition of four transformations can be coded  "matrix(1 -.2679 -.3094 1.1547 42 147)" , where the last two integers are the coordinates of the translation.  The first four numbers come out the product of the following matrices,  which represent  'scale(1.035) rotate(-15)'   and   'skewX(-30)' :
 |   1 tan 15°| | 1  – tan 30°|
 | – tan 15°      1   | | 0       1   |

The sequence  '1 -.2679 -.3094 1.1547'  is used in the source code of other SVG images, with an initial rectangular pattern of same dimensions:  width="336" height="291" .
File:Academ_Regular_hexagonal_tiling.svg
File:Academ_Regular_tiling_by_hexagons.svg
File:Academ_A_periodic_tiling_by_regular_hexagons_and_equilateral_triangles.svg
File:Academ_Equilateral_triangles_and_regular_hexagons_in_a_periodic_tiling.svg
File:Academ_Periodic_tiling_by_regular_polygons_with_three_or_six_sides.svg
File:Academ_Regular_polygons_with_three_or_six_sides_in_a_periodic_tiling.svg

In the source code of the following images there is also the sequence  '1 -.2679 -.3094 1.1547' .
File:Academ_Different_scales_of_repetitive_patterns.svg
File:Academ_Different_repetitive_patterns_of_a_periodic_tiling.svg
File:Academ_Repetitive_patterns_by_tile_groups_in_a_tiling.svg
File:Academ_Similar_repetitive_patterns_of_a_periodic_tiling.svg
File:Academ_Some_assemblages_of_puzzle_pieces_related_by_a_similarity.svg

The following SVG images also transform a rectangle into a rhombus, to show a periodic tiling by regular polygons:  triangles and hexagons.  However, in these tilings, a common boundary of two adjoining tiles is not a full edge of the two tiles.
File:Academ Study about a periodic tiling by regular polygons.svg
File:Academ Periodic tiling by regular polygons of two kinds.svg
File:Academ Periodic tiling by regular polygons with three or six edges.svg

Just before the closing </pattern>,  "M224 0 336 97V0m0 291V194H224v97M0 0V97H112V0M0 194v97H112"  represents four semi-transparent surfaces:  two rectangles and two right triangles.  Each triangle is one half of a rectangle.  Because of  'skewX(-30)' , we see two rhombi instead of two rectangles and two equilateral triangles instead of two right triangles.

In order to study the source code and the present description, here are some numbers.
tan 15 o = 2 – √3 ;  1 / cos 15 o ≈ 1.035 ;  56 × tan 15 o ≈ 15 ;
336 = 6 × 56 ;  56 × √3 ≈ 97 ;  3 × 97 = 291 ;
(112 ; –30 ) + (–30 ; 112) = ( 82 ; 82 ) ;  (42 ; 147 ) + 6 × ( 82 ; 82 ) = (534 ; 639).
 
Français :
Un motif répétitif rectangulaire devient le motif en forme de losange de l’image SVG, grâce à l’extrait de code  suivant :   'patternTransform= "translate(42,147) scale(1.035) rotate(-15) skewX(-30)"' .  Cette composition de quatre transformations peut se coder  "matrix(1 -.2679 -.3094 1.1547 42 147)" , où les deux derniers nombres entiers sont les coordonnées de la translation.  Les quatre premiers nombres résultent du produit des matrices suivantes,  qui représentent  'scale(1.035) rotate(-15)'   et   'skewX(-30)' :
 |   1 tan 15°| | 1  – tan 30°|
 | – tan 15°      1   | | 0       1   |

La suite  '1 -.2679 -.3094 1.1547'  est utilisée dans le code source d’autres images SVG, avec un motif rectangulaire initial de mêmes dimensions :   width="336" height="291" .
File:Academ_Regular_hexagonal_tiling.svg
File:Academ_Regular_tiling_by_hexagons.svg
File:Academ_A_periodic_tiling_by_regular_hexagons_and_equilateral_triangles.svg
File:Academ_Equilateral_triangles_and_regular_hexagons_in_a_periodic_tiling.svg
File:Academ_Periodic_tiling_by_regular_polygons_with_three_or_six_sides.svg
File:Academ_Regular_polygons_with_three_or_six_sides_in_a_periodic_tiling.svg

Dans le code source des images suivantes il y a aussi la suite  '1 -.2679 -.3094 1.1547' .
File:Academ_Different_scales_of_repetitive_patterns.svg
File:Academ_Different_repetitive_patterns_of_a_periodic_tiling.svg
File:Academ_Repetitive_patterns_by_tile_groups_in_a_tiling.svg
File:Academ_Similar_repetitive_patterns_of_a_periodic_tiling.svg
File:Academ_Some_assemblages_of_puzzle_pieces_related_by_a_similarity.svg

Les images SVG suivantes transforment aussi un rectangle en un losange, pour montrer un pavage périodique par des polygones réguliers, triangulaires et hexagonaux.  Toutefois, dans ces pavages, la frontière commune de deux éléments adjacents n’est pas le bord complet des deux éléments.
File:Academ Study about a periodic tiling by regular polygons.svg
File:Academ Periodic tiling by regular polygons of two kinds.svg
File:Academ Periodic tiling by regular polygons with three or six edges.svg

Juste avant la balise de fermeture </pattern>,  "M224 0 336 97V0m0 291V194H224v97M0 0V97H112V0M0 194v97H112"  représente quatre surfaces semi-transparentes :  deux rectangles et deux triangles rectangles.  Chaque triangle est une moitié de rectangle.  À cause de  'skewX(-30)' , on voit deux losanges au lieu de deux rectangles, et deux triangles équilatéraux au lieu de deux triangles rectangles.

Afin d’étudier le code source et la description présente, voici quelques nombres.
tan 15 o = 2 – √3 ;  1 / cos 15 o ≈ 1.035 ;  56 × tan 15 o ≈ 15 ;
336 = 6 × 56 ;  56 × √3 ≈ 97 ;  3 × 97 = 291 ;
(112 ; –30 ) + (–30 ; 112) = ( 82 ; 82 ) ;  (42 ; 147 ) + 6 × ( 82 ; 82 ) = (534 ; 639).
Date
Source Own work
Author Baelde
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This /Baelde was created with a text editor.

Licensing

Arthur Baelde, the copyright holder of this work, hereby publishes it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Attribution: Arthur Baelde
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

13 June 2013

image/svg+xml

1716e55baa0cf55d0860ee526a01a9f231a5e00f

1,535 byte

600 pixel

600 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current06:26, 13 June 2013Thumbnail for version as of 06:26, 13 June 2013600 × 600 (1 KB)BaeldeUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata