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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
30
O mantra da produtividade
angeliski
0
66
Let's talk about PWA
angeliski
1
120
Other Decks in Programming
See All in Programming
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
170
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
4
1.7k
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
150
Dockerfile CMD for Node.js
grazie1999
0
110
Hono + Inertia + React で LP を構築した話
oukayuka
2
120
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
510
テーブルをDELETEした
yuzneri
0
150
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
200
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
210
FDEが実現するAI駆動経営の現在地
gonta
2
290
仕様駆動開発の消費期限
watany
20
8.8k
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
260
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Music & Morning Musume
bryan
47
7.3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
Site-Speed That Sticks
csswizardry
13
1.5k
Side Projects
sachag
455
43k
Believing is Seeing
oripsolob
1
200
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
870
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
540
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