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
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SVG
https://youtu.be/7NcnVEF5cmE
Rogerio Angeliski
September 21, 2017
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
100
Workshop de Feedback
angeliski
0
29
O mantra da produtividade
angeliski
0
65
Let's talk about PWA
angeliski
1
110
Other Decks in Programming
See All in Programming
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
660
dRuby over BLE
makicamel
2
330
AI時代のUIはどこへ行く?その2!
yusukebe
21
7k
Modding RubyKaigi for Myself
yui_knk
0
920
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
200
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
5.3k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
520
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.4k
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
170
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
5
3.9k
Webフレームワークの ベンチマークについて
yusukebe
0
160
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
8.8k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
310
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
330
Un-Boring Meetings
codingconduct
0
310
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Six Lessons from altMBA
skipperchong
29
4.3k
The Limits of Empathy - UXLibs8
cassininazir
1
350
Rails Girls Zürich Keynote
gr2m
96
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Design in an AI World
tapps
1
240
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