File:Tangram square rainbow colors.svg

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

Original file (SVG file, nominally 2,321 × 2,321 pixels, file size: 3 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Tangram puzzle square shape, rainbow colors, SVG created with a text editor
Deutsch: Trangram quadratische Anordnung, Regenbogenfarben, SVG erstellt mit einem Texteditor
Date
Source Own work
Author pd4u
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This geometry was created with a text editor by Pd4u.

SVG Code

[edit]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" width="2321" height="2321">
<defs>
  	< !-- Tangram
		     7 Elemente
		     Seitenlänge des Quadrates aller Figuren: 2a
		     Diagonale: a*sqrt(2) = b
		     2 gleichschenkelig rechtwinkelige Dreiecke Basis 2a
		     2 gleichschenkelig rechtwinkelige Dreiecke Basis a
		     1 Parallelogramm Basis a, Höhe a
				 1 Quadrat Seitenlänge b/4
				 1 gleichschenkelig rechtwinkeliges Dreieck Basis b/2
				 sqrt(2) = 1,414213562373095
         Näherung für sqrt(2): 577/408 = 1,41421568627451
         daher waehlen wir als a: 2*408 = 816
         a = 816
         2a = 1632
         b = 2308
         b/2 = 1154
         b/4 = 577
  	-->
<style type="text/css"><![CDATA[
    .Border { fill:none; stroke:blue; stroke-width:5 }
    .Connect { fill:none; stroke:#888888; stroke-width:2 }
    .SamplePath { fill:none; stroke:red; stroke-width:5 }
    .puzzleout { stroke:black; stroke-width:5 }
    .csqr { fill:red }
    .cbig1 { fill:yellow }
    .cbig2 { fill:green }
    .cmid { fill:orange }
    .csm1 { fill:cyan }
    .csm2 { fill:blue }
    .cpar { fill:purple }
    .EndPoint { fill:none; stroke:#888888; stroke-width:2 }
    .CtlPoint { fill:#888888; stroke:none }
    .AutoCtlPoint { fill:none; stroke:blue; stroke-width:4 }
    .Label { font-size:22; font-family:Courier }
  ]]></style>

  <path id="square"
       class="csqr puzzleout"
			 d="M0,0 h577 v577 h-577 z"
  />
	 <path id="bigtri" 
     d="M0,-816 l816 816 -816,816 z"
    />
  <use id="bigtri1" class="cbig1 puzzleout"
     xlink:href="#bigtri"
    />
  <use id="bigtri2" class="cbig2 puzzleout"
     xlink:href="#bigtri"
    />
  <path id="smalltri"  
     d="M0,-408 l408 408 -408,408 z"
    />
  <use id="smalltri1" class="csm1 puzzleout"
     xlink:href="#smalltri"
    />
  <use id="smalltri2" class="csm2 puzzleout"
     xlink:href="#smalltri"
    />
  <path id="midtri" class="cmid puzzleout"
     d="M0,0 h1154 l-577,577 z"
    />
	<path id="para" class="cpar puzzleout"
     d="M0,0 h816 l408,-408 h-816 z"
    />
</defs>

 <g id="tangram-square"
    transform="translate(339,1154)">
		<use xlink:href="#bigtri1" transform="rotate(45 816 0) "/>
		<use xlink:href="#bigtri2" transform="rotate(-45 816 0) "/>
    <use xlink:href="#smalltri1" transform="translate(408,-577) rotate(135 408 0) "/>
	
		<use xlink:href="#square" transform="translate(816,-577) "/>
 	  <use xlink:href="#midtri" transform="translate(1393,577) rotate(-90) "/>
		<use xlink:href="#smalltri2" transform="translate(408,0) rotate(225 408 0) "/>
		<use xlink:href="#para" transform="translate(577,577) rotate(-45 816 0) "/>

</g>
</svg>

Licensing

[edit]
This work is labeled as Kopimi, meaning that the copyright holder of this work specifically requests that this work be used and copied for any purpose, including unlimited commercial use and redistribution. It is believed in good faith that a work classified as Kopimi is free to use in any way, including modification and the creation of derivative works.

This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See Commons:Licensing.


English  français  polski  português  slovenščina  svenska  македонски  മലയാളം  中文(简体)‎  فارسی  +/−

I, the copyright holder of this work, hereby publish it under the following licenses:
WTFPL
Permission is granted to do what the fuck you want to with this document under the terms of the WTF Public License, Version 2.
WTF Public LicenseWTFPLfalsefalsehttp://www.wtfpl.net/about/
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

You may select the license of your choice.

File history

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

Date/TimeThumbnailDimensionsUserComment
current13:35, 20 January 2018Thumbnail for version as of 13:35, 20 January 20182,321 × 2,321 (3 KB)Pd4u (talk | contribs)== {{int:filedesc}} == {{Information |Description ={{en|1=Tangram puzzle square shape, rainbow colors, SVG created with a text editor}} {{de|1=Trangram quadratische Anordnung, Regenbogenfarben, SVG erstellt mit einem Texteditor}} |Source ={{...

Metadata