File:1,2-dimethyl-chickenwire2.svg
From Wikimedia Commons, the free media repository
Size of this PNG preview of this SVG file: 664 × 395 pixels. Other resolutions: 320 × 190 pixels | 640 × 381 pixels | 800 × 476 pixels | 1,024 × 609 pixels | 1,280 × 761 pixels.
Original file (SVG file, nominally 664 × 395 pixels, file size: 17 KB)
Summary[edit]
| Description |
English: Structural formula of the fictional chemical compound 1,2-Dimethyl-chickenwire
Deutsch: Strukturformel der fiktiven chemischen Verbindung 1,2-Dimethyl-Hasendraht
|
| Date | |
| Source | Own work |
| Author | László Németh |
| Other versions |
Source 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 chem s
FOR i IN s [
fs = FONTSIZE
corr = 0
IF i IN “⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻” [ corr = fs/8 ]
IF i IN “₀₁₂₃₄₅₆₇₈₉” [ corr = -fs/5 ]
IF i = “―” [ corr = fs/10 ]
FORWARD corr
FORWARD i
BACK corr
]
END
TO hexagon
REPEAT 6 [ FORWARD 25 RIGHT 60 ]
END
TO hexagons n
REPEAT n [ hexagon PENUP FORWARD 75 PENDOWN ]
END
TO chickenwire
hexagons 2
REPEAT 10 [
RIGHT 120 PENUP FORWARD 25 RIGHT 60 PENDOWN
hexagons 3
RIGHT 120 PENUP FORWARD 2*25 LEFT 60 FORWARD 25 RIGHT 120 PENDOWN
hexagons 4
PENUP BACK 25*3
]
p = POSITION
H = HEADING
PENUP FORWARD 25 LEFT 60
PENDOWN FORWARD 15 PENUP
RIGHT 60 FORWARD [-40, -10]
HEADING 0 chem “H₃C”
POSITION p
HEADING H
FORWARD 25 RIGHT 60 FORWARD 25 LEFT 60
PENDOWN FORWARD 15 PENUP FORWARD [-8, -1] HEADING 0 chem “CH₃”
POSITION p
HEADING H
RIGHT 120 PENUP FORWARD 25 RIGHT 60 PENDOWN
hexagons 3
RIGHT 120 PENUP FORWARD 3*25 RIGHT 60 FORWARD 2*25 PENDOWN
hexagons 2
CLOSE
END
CLEARSCREEN HOME HIDETURTLE
FONTFAMILY “Nimbus Sans L”
FONTSIZE 20 PENSIZE 2 PENJOINT “MITER”
PENUP POSITION [PAGESIZE[0]-50, PAGESIZE[1]/2]
PENDOWN HEADING 0
PICTURE “1,2-dimethyl-chickenwire2.svg” [
chickenwire
]
Licensing[edit]
| This image of a simple structural formula is ineligible for copyright and therefore in the public domain, because it consists entirely of information that is common property and contains no original authorship.
|
|
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 22:18, 9 April 2014 | 664 × 395 (17 KB) | Nl74 (talk | contribs) | fix width | |
| 22:15, 9 April 2014 | 663 × 395 (17 KB) | Nl74 (talk | contribs) | User created page with UploadWizard |
- You cannot overwrite this file.
File usage on Commons
There are no pages that link to this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org