Some circles
Created with Sketch (http://www.bohemiancoding.com/sketch)
Sketch export
Slide 12
Slide 12 text
Some circles
Created with Sketch (http://www.bohemiancoding.com/sketch)
Sketch export
Slide 13
Slide 13 text
Illustrator export
Slide 14
Slide 14 text
github.com/svg/svgo
Slide 15
Slide 15 text
!
Optimised SVG using SVGO
Slide 16
Slide 16 text
SVGO Usage
Slide 17
Slide 17 text
SVGO Usage
Slide 18
Slide 18 text
SVGO Usage
Slide 19
Slide 19 text
github.com/svg/svgo
Slide 20
Slide 20 text
SVGO Usage
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
Other music festival apps
Slide 23
Slide 23 text
Inline or background image?
Slide 24
Slide 24 text
!
!
iOS Inline issue
Slide 25
Slide 25 text
SVG and MathML elements must either have a
start tag and an end tag, or a start tag that is
marked as self-closing, in which case they must
not have an end tag.
Slide 26
Slide 26 text
!
!
iOS Inline issue
Slide 27
Slide 27 text
!
!
iOS Inline issue
Slide 28
Slide 28 text
Inline has no size restrictions
Up to 5 decoded megapixels
Slide 29
Slide 29 text
Inline has no size restrictions
Up to 5 decoded megapixels
Slide 30
Slide 30 text
Inline or background image?
Slide 31
Slide 31 text
SVG in Sketch
Slide 32
Slide 32 text
SVG Export
Slide 33
Slide 33 text
PDF Export
Slide 34
Slide 34 text
Illustrator SVG Export
Slide 35
Slide 35 text
100% width
Slide 36
Slide 36 text
Filling the space
Slide 37
Slide 37 text
SVG Map result
Slide 38
Slide 38 text
Optimisation
Slide 39
Slide 39 text
Separate DOM SVG nodes vs. Defs
Slide 40
Slide 40 text
Don’t use 3D transforms
Slide 41
Slide 41 text
Don’t Base64 encode for Android
Slide 42
Slide 42 text
Grouped elements result in a 7% faster paint
Slide 43
Slide 43 text
SVG is painted up to 11% faster with Use elements
Slide 44
Slide 44 text
Optimised (a little)
Slide 45
Slide 45 text
The bad
Slide 46
Slide 46 text
3.0
Slide 47
Slide 47 text
Use canvas if you’re rendering all of the nodes, ever.