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
110
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
94
Workshop de Feedback
angeliski
0
23
O mantra da produtividade
angeliski
0
44
Let's talk about PWA
angeliski
1
100
Other Decks in Programming
See All in Programming
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
940
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
120
Hanami and htmx
bkuhlmann
0
200
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
What We Can Learn From OSS
inouehi
0
420
Ruby Pattern Matching
bkuhlmann
0
920
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
200
エンターテイメント業界で利用されるAWS
demuyan
0
210
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
270
ONE WEDGE_company_guide
1wedge_one
0
450
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
ゆるい個人開発のススメ
kuroppe1819
10
980
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Bash Introduction
62gerente
604
210k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
Rails Girls Zürich Keynote
gr2m
91
13k
The Language of Interfaces
destraynor
151
23k
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