Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SVG
Search
Rogerio Angeliski
September 21, 2017
Programming
0
120
SVG
https://youtu.be/7NcnVEF5cmE
Rogerio Angeliski
September 21, 2017
Tweet
Share
More Decks by Rogerio Angeliski
See All by Rogerio Angeliski
Processando bilhões de eventos - Aprendizados de uma Black Friday em produção
angeliski
0
97
Workshop de Feedback
angeliski
0
23
O mantra da produtividade
angeliski
0
48
Let's talk about PWA
angeliski
1
110
Other Decks in Programming
See All in Programming
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
180
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
600
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
610
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
900
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
280
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
400
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
170
Featured
See All Featured
A Tale of Four Properties
chriscoyier
157
23k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Navigating Team Friction
lara
183
15k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
How STYLIGHT went responsive
nonsquared
96
5.3k
It's Worth the Effort
3n
183
28k
Documentation Writing (for coders)
carmenintech
67
4.5k
How GitHub (no longer) Works
holman
312
140k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Designing for Performance
lara
604
68k
What's in a price? How to price your products and services
michaelherold
244
12k
Transcript
SVG SIMPLE - VALUABLE - GRATIFYING
SCALABLE VECTOR GRAPHICS XML & Two-Dimensional Graph
WHY? • Colorful & Detailed • Interactive & Stylish with
css • Responsive • Advanced Animations • Gzip • Cross-Browser Suport
WHEN NOT TO USE? Complex images & Images no vector
HOW USE? • Tag IMG • Background-image • iframe/object/embed •
Data URIs • Inline SVG
Cartesian plane 50 50
Structure <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- draw! --> </svg>
Rect <svg width="500" height="200"> <rect x="20" y="10" width="100" height="50" stroke="#000"
fill="blue" /> </svg>
Circle <svg width="500" height="200"> <circle cx="100" cy="100" r="40" stroke="#000" fill="blue"
/> </svg>
Ellipse <svg width="500" height="200"> <ellipse cx="100" cy="60" rx="100" ry="50" fill="blue"
/> </svg>
Line <svg width="500" height="200"> <line x1="20" y1="10" x2="180" y2="60" stroke="blue"
stroke-width="4"/> </svg>
Polyline <svg width="500" height="200"> <polyline points="0,40 40,40 40,80 80,80 80,120
120,120 120,160" fill="white" stroke="blue" stroke-width="4" /> </svg>
Polygon <svg width="500" height="200"> <polygon points="50,5 100,5 125,30 125,80 100,105
50,105 25,80 25,30" fill="blue" stroke="#000" stroke-width="4"/> </svg>
Path <svg width="500" height="200"> <path d="M250,10 L200,100 L300,100z" fill="none" stroke="blue"
stroke-width="4"/> </svg>
Animation - CSS (https://codepen.io/angeliski/pen/WZwLzZ) - Keyframes - Animation CSS3 -
SMIL (https://codepen.io/angeliski/pen/rGePVg) - Embedded
JS Manipulation - Exemplo: https://codepen.io/angeliski/pen/xXVMOG - D3.js - Snap.svg -
Greensock
Getting Started - Download SVG (Icomoon, SVG Cuts, https://github.com/willianjusten/awesome-svg) -
Inkscape, Sketch e Illustrator - Go!
Fim @angeliski_ https://github.com/angeliski https://angeliski.com.br