Jump to content

File:1,2-dimethyl-chickenwire2.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 664 × 395 pixels, file size: 17 KB)

Summary

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
SVG development
InfoField
 
The SVG code is valid.
 
This structural formula was created with LibreOffice.
 
 This structural formula uses embedded text for its chemistry symbols.
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 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 HC
 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

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

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

10 April 2014

image/svg+xml

88fd549289f81c6c4c72bf0067f8f445fc053b2b

17,763 byte

395 pixel

664 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current22:18, 9 April 2014Thumbnail for version as of 22:18, 9 April 2014664 × 395 (17 KB)Nl74fix width
22:15, 9 April 2014Thumbnail for version as of 22:15, 9 April 2014663 × 395 (17 KB)Nl74User created page with UploadWizard

The following page uses this file:

Metadata