File talk:Flag of Nepal.svg

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

Coordinates for drawing the flag

[edit]

I followed the construction sheet on https://www.fotw.info/flags/np'.html very carefully and calculated the exact coordinates of the objects with Maple. Due to the complex construction, the numbers are irrational and rather complicated. Here is the numbers that appear in the file:

--Pumbaa 23:37, 7 January 2007 (UTC)[reply]

There are visible borders between the circles and their points when the image is scaled down – is someone able to remove them? –Vzb83 (talk) 11:31, 1 November 2008 (UTC)[reply]
I am also having some issues with the white space around the image itself. This is going to be a tough fix. User:Zscout370 (Return fire) 04:19, 16 April 2010 (UTC)[reply]
@Pumbaa80. My respect. Very good work to try to use the offical construction fo a SVG-coding. But sadly there is somewhere an error. This blue border is too big. See you first two path statement:

<path d="M -18,-5 V 83 H 52 L 9,40 H 54 z" fill="#003893"/> <path d="M -15,0 V 80 H 45 L 2.573593128807148536,37.573593128807148536 H 45 z" fill="#DC143C"/>

The red inner has a ration of (15+45)/80 = 3:4 like in the constitution sheet of Nepal, Shedule 2. But your border is wrong it must be irrational all around! I will check and reconstruct your layout and solve this mistake. :) Have a look at [1], and the last reference there [2]. Achim1999 (talk) 21:06, 7 June 2012 (UTC)[reply]
I checked the whole SVG-file. ONLY your path for the blue border was wrong. It should be

<path d="M -17.582337711,-4.6640239844 V 82.5823377111 H 51.234314724932 L 8.8079078537,40.1559308399765449 H 53.989132183766 z" fill="#003893"/>

I guess you forgot to consider the effect of the non orthogonal/parallel flag sides when calculating the coordinates of the blue path. Achim1999 (talk) 09:19, 8 June 2012 (UTC)[reply]
Appendix: These 7 magic numbers in the blue path are:
with TN= Achim1999 (talk) 17:52, 8 June 2012 (UTC)[reply]
due to your "invalid SVG identifiers, these must not started with digits, I uploaded a valid one and "blue-border-improved" coding:

<use xlink:href="#b" stroke="#003893" stroke-width="5.1646754223"/>
<path id="b" d="M -15,37.5735931288 h 60 L -15,0 v 80 h 60 L -15,20 z" fill="#DC143C"/>

using your 3rd magic value. ;)

Achim1999 (talk) 19:05, 10 June 2012 (UTC)[reply]