File:Drawtangram preview.gif
Drawtangram_preview.gif (203 × 203 pixels, file size: 23 KB, MIME type: image/gif, looped, 7 frames, 8.0 s)
File information
Structured data
Captions
Summary edit
DescriptionDrawtangram preview.gif |
English: Tangram drawing animation (GIF preview of the animated SVG) |
Date | |
Source | Own work |
Author | László Németh |
Other versions |
|
GIF development InfoField | This Tangram was created with LibreOffice. |
Source code InfoField | LibreOffice code; Created in LibreOffice 4.2 with this LibreLogo program
; Usage: Put this code into an English language document in LibO Writer,
; and click on the Start icon of the View»Toolbars»Logo toolbar.
TO place x y
POSITION [200+x*40, 400-y*40]
END
TO line x y x2 y2
PENUP place x y
PENDOWN place x2 y2
END
TO grid x y x2 y2
REPEAT y2-y+1 [ line x y+REPCOUNT-1 x2 y+REPCOUNT-1 ]
REPEAT x2-x+1 [ line x+REPCOUNT-1 y x+REPCOUNT-1 y2 ]
END
TO steps n
PENSIZE 2 HIDETURTLE
PENCAP “ROUND”
PENCOLOR “SILVER”
IF n < 6 [
grid 0 0 4 4
IF n = 0 [ STOP ]
]
PENCOLOR “BLACK”
IF n < 6 [
line 0 4 4 0
IF n = 1 [ STOP ]
line 2 4 4 2
IF n = 2 [ STOP ]
line 1 3 2 4
IF n = 3 [ STOP ]
line 0 0 3 3
IF n = 4 [ STOP ]
line 3 3 3 1
IF n = 5 [ STOP ]
]
FILLCOLOR “RED” line 0 0 0 4 place 2 2 FILL
FILLCOLOR “BLUE” line 0 0 4 0 place 2 2 FILL
FILLCOLOR “GREEN” line 0 4 2 4 place 1 3 FILL
FILLCOLOR “PURPLE” line 2 4 4 4 place 4 2 FILL
FILLCOLOR “LIME” line 3 1 2 2 place 3 3 FILL
FILLCOLOR “FUCHSIA” line 2 4 1 3 place 2 2 place 3 3 FILL
FILLCOLOR “YELLOW” line 3 1 3 3 place 4 2 place 4 0 FILL
END
REPEAT 7 [
PICTURE “tangram_step%s.svg” % REPCOUNT [
steps REPCOUNT - 1
]
]
|
Licensing edit
I, the copyright holder of this work, hereby publish it under the following license:
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.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 00:08, 5 June 2014 | 203 × 203 (23 KB) | Nl74 (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 12 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on vi.wikipedia.org