File:Nonagon annotated.svg

Original file(SVG file, nominally 508 × 509 pixels, file size: 18 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description
English: Regular 9-gon with annotation + s.
Date
Source Own work
Author László Németh
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This polygon was created with OpenOffice.org.
Source code
InfoField

LibreOffice code

; Created in LibreOffice 4 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»Toolbar»Logo toolbar.
 FONTSIZE 22 FONTFAMILY Nimbus Sans L
 FOR vertices IN [3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20] [
 ;     PICTURE regular_polygon_%d_annotated.svg % vertices [ ; from LibO 4.1.1
     PICTURE [
 	HOME CLEARSCREEN HIDETURTLE
 	FILLCOLOR WHITE PENCOLOR SILVER 
 	PENDOWN PENSIZE 2 CIRCLE 400
 	β = 360/vertices
 	CIRCLE [80 + vertices * 10, 80 + vertices * 10, 0, β]
 	FONTCOLOR SILVER
 	IF vertices >= 18 [ f = 0.011 ] [ f = 0.013 ]
 	HEADING β*0.57 PENUP FORWARD (80 + vertices * 10) * (0.23 + (f * vertices))
 	HEADING 0 LABEL %d°” % β
 	HOME HEADING 0 PENDOWN
 	dots = []
 	REPEAT vertices [
 		FORWARD 200
 		where = POSITION
 		dots = dots + [where]
 		BACK 200 RIGHT β
 	]
 	HOME
 	PENSIZE 2 CIRCLE 10
 	PENCOLOR BLACK FONTCOLOR BLACK
 	α = ((vertices-2)/vertices)*180
 	PENUP FORWARD 200 PENDOWN
 	CIRCLE [90 + 105/vertices, 90 + 105/vertices, 180  α/2, 180 + α/2]
 	PENUP BACK 20 + 70/vertices LABEL %d°” %  α
 	HOME PENUP PENSIZE 4 PENUP
 	FOR i IN dots + dots[0:1] [ POSITION i PENDOWN ] PENSIZE 2
 	FOR i IN dots [ PENUP POSITION i PENDOWN CIRCLE 10 ]
 	HOME HEADING  β * 1.5 PENUP FORWARD 201
 	HEADING 0 CIRCLE 22 TEXT s
     ]
 ]

Licensing edit

I, the copyright holder of this work, hereby publish it under the following license:
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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:28, 18 July 2013Thumbnail for version as of 21:28, 18 July 2013508 × 509 (18 KB)Nl74 (talk | contribs)valid SVG
14:27, 17 July 2013Thumbnail for version as of 14:27, 17 July 2013508 × 509 (18 KB)Nl74 (talk | contribs)+ letter “s”
13:08, 17 July 2013Thumbnail for version as of 13:08, 17 July 2013508 × 509 (17 KB)Nl74 (talk | contribs)font fix
23:03, 16 July 2013Thumbnail for version as of 23:03, 16 July 2013508 × 509 (18 KB)Nl74 (talk | contribs)fixed font
22:50, 16 July 2013Thumbnail for version as of 22:50, 16 July 2013508 × 509 (18 KB)Nl74 (talk | contribs)User created page with UploadWizard

The following 2 pages use this file:

File usage on other wikis

The following other wikis use this file:

Metadata