File talk:Orochimaru's Symbol.svg

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

The first version (2007) is a perfect example how Sodipodi complicates coding by redundant instructions, increases file size and makes the source code difficult to read. It has no use at all to define the position coordinates with an accuracy of 7 decimal digits, most of the "style"-attributes are redundant, and the transform matrices are just hiding the true values. Sodipodi seems to chose always the most complicated way to express something.

The different disgarbaged versions are all showing the same picture, just with using reasonable accuracies. The last version gives an example how useful the "view"-option can be. In Wikipedia, librsvg does not need an explicit viewBox="0 0 width heigh" statement. In this case it simplifies the definition of all the circles and the path, setting the coordinates origin to the center of the picture.

This code is shown here, you need not to download the file to give it a look:

<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-40.5 -40.5 81 81" 
fill="none" stroke="#000">
<circle r="40"/>
<circle cy="20" r="5"/>
<circle cy="-20" r="5"/>
<path d="M0,40A20,20 0 1,1 0,0A20,20 0 1,0 0,-40"/>
</svg> 

This genius solution was developed by user Zupftom. -- 08:37, 18 April 2011‎ User:Sarang

The "16:22, 25 October 2007" version was done in Inkscape, not Sodipodi (Sodipodi has been effectively obsolete for a number of years by now...). -- AnonMoos (talk) 15:42, 21 April 2011 (UTC)[reply]