пятница, 27 апреля 2012 г.

Мишка на Scalable Vector Graphics

Сегодня нужно было нарисовать мишку на Scalable Vector Graphics, в переводе масштабируемая векторная графика. Что требовалось от меня:
 

Что получилось:
А получился вроде симпатичный мишка!! Если кому - то тоже потребовалось порисовать в SVG, и что - то не получается пишите в комментариях, попробую помочь. Вот код, может кому пригодится:

<svg width="500" height="500"  xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="60" cy="225"  r="20" fill="white" stroke="black" stroke-width="6" />
<circle cx="210" cy="225"  r="20" fill="white" stroke="black" stroke-width="6" />
<circle cx="80" cy="325"  r="20" fill="white" stroke="black" stroke-width="6" />
<circle cx="195" cy="325"  r="20" fill="white" stroke="black" stroke-width="6" />
        <rect x="70" y="200" width="130" height="130" fill="white" stroke="black" stroke-width="6"/>
<circle cx="60" cy="225"  r="20" fill="white" stroke="black" stroke-width="1" />
<circle cx="210" cy="225"  r="20" fill="white" stroke="black" stroke-width="1" />
<circle cx="80" cy="325"  r="20" fill="white" stroke="black" stroke-width="1" />
<circle cx="195" cy="325"  r="20" fill="white" stroke="black" stroke-width="1" />
<circle cx="60" cy="85"  r="25" fill="white" stroke="black" stroke-width="5" />
<circle cx="200" cy="85"  r="25" fill="white" stroke="black" stroke-width="5" />
<ellipse cx="135" cy="135" rx="90" ry="65" fill="white" stroke="black" stroke-width="5"  />
<circle cx="170" cy="135"  r="20" fill="white" stroke="black" stroke-width="1" />
<circle cx="110" cy="135"  r="20" fill="white" stroke="black" stroke-width="1" />
<circle cx="110" cy="136"  r="10" fill="black" stroke="black" stroke-width="1" />
<circle cx="163" cy="136"  r="10" fill="black" stroke="black" stroke-width="1" />
<circle cx="135" cy="170"  r="35" fill="white" stroke="black" stroke-width="1"/>
<circle cx="113" cy="137"  r="2" fill="white" stroke="white" stroke-width="1"/>
<circle cx="159" cy="137"  r="2" fill="white" stroke="white" stroke-width="1"/>
<path d="M 120 150 L 150 150 L 135 180 z" fill="white" stroke="black" stroke-width="1" />
</svg>

1 комментарий:

  1. Betway Sportsbook in Pennsylvania: Review & Sign Up Bonus Code
    Betway is a 바인드 토토 US-friendly online sportsbook, offering a mobile 로투스 바카라 중계 app and a large deposit 해외배당 bonus. You'll also find more in-depth reviews of the  꽁머니 Rating: 4.7 casino · ‎Review by GoyangCafe

    ОтветитьУдалить

Сделай автору приятно - оставь комментарий!