SlideShare a Scribd company logo
Web Animation
Techniques for 2017
A Comparison
Assumptions
• You don’t want animations to slow down your website
• You want it to work for as many people as possible
• You want the code to be maintainable
• You are most likely using React, in 2017
Considerations
• Fidelity: How good does the animation look?
• Browser Compatibility: How many people can see it?
• Performance: How does it affect the speed of the website?
• Ease of Implementation: How easy is it to create and maintain?
Approaches
CSS animations
with HTML
CSS animations
with SVG
GIF animation HTML5 video SVG animation
with Javascript
Lightweight Mediumweight Heavyweight
Lightweight Approaches
with CSS
CSS animations
with HTML
CSS animations
with SVG
“CSS animations has had a bit of a
resurgence lately likely because it’s the
easiest way to go for animations in React.
In terms of real-world animations on the
web, sometimes CSS is Occam’s Razor.”
– Sarah Drasner, author of “SVG Animations”
CSS animations
with HTML
• Fidelity: Only the most basic animations can be
achieved, but the animation scales to any screen size.
• Browser Compatibility: The most widely-supported. If
CSS animation isn’t supported by a browser, it
degrades gracefully to a static image.
• Performance: Because it’s just code, the animation is
very lightweight and doesn’t impact loading times.
• Ease of Implementation: Easy to implement and
maintain. Recommended for use with React.
CSS animations
with SVG
• Fidelity: SVG allows for more control over graphics and
the animation scales to any screen size
• Browser Compatibility: Both CSS animation and SVG
are widely supported
• Performance: Because it’s just code, the animation is
very lightweight and doesn’t impact loading times
• Ease of Implementation: Browser inconsistencies may
require some development effort to address.
Recommended for use with React.
Mediumweight Approaches
with GIF
GIF Animation
• Fidelity: Extensive control over graphics and effects, but there
is no control over playback. It comes in a fixed size.
• Browser Compatibility: The oldest image format on the web.
You won’t run into compatibility issues with it
• Performance: It’s a performance nightmare. The team that
built Safari found that “GIFs can be up to twelve times as
expensive in bandwidth and twice as expensive in energy use.
It’s so expensive that many of the largest GIF providers have
been moving away from GIFs and toward the <video> element.”
• Ease of Implementation: Requires pre-production by
designers, changes cannot be made in code.
Heavyweight Approaches
with Javascript or Video
HTML5 Video
• Fidelity: Extensive control over graphics, sequencing,
and effects, but no control over timing beyond playing
and pausing. It comes in a fixed size.
• Browser Compatibility: Video is widely supported but
control over playback on mobile is limited
• Performance: Video files, even compressed, will make
a significant impact on loading times
• Ease of Implementation: Requires pre-production by
designers, changes cannot be made in code. Requires
custom video hosting to be used as part of the UI.
SVG animation
with Javascript
• Fidelity: Complete control over every aspect of the
animation including sequencing, timing, scale.
• Browser Compatibility: Browser support varies
depending on Javascript library used
• Performance: Additional Javascript code will make a
slight impact on loading times and might slow down
some low-end devices
• Ease of Implementation: Requires considerable effort
to implement, especially with React, as there are no
out-of-the-box solutions.
References
• CSS-Tricks, SVG Animation and CSS Transforms: A Complicated
Love Story. https://css-tricks.com/svg-animation-on-css-transforms/
• Sarah Drasner, A Comparison of Animation Technologies. https://css-
tricks.com/comparison-animation-technologies/
• Rachel Nabors, Web Animation Past, Present, and Future. https://
alistapart.com/article/web-animation-past-present-and-future
• Webkit Blog, New <video> Policies for iOS. https://webkit.org/blog/6784/
new-video-policies-for-ios/

More Related Content

What's hot

Iseltech17 - Single Page Applications
Iseltech17 - Single Page ApplicationsIseltech17 - Single Page Applications
Iseltech17 - Single Page Applications
Monica Rodrigues
 
David Szetela — PPC vs SEO
David Szetela — PPC vs SEODavid Szetela — PPC vs SEO
David Szetela — PPC vs SEO
Semrush
 
Improving editors' lives with Neos CMS
Improving editors' lives with Neos CMSImproving editors' lives with Neos CMS
Improving editors' lives with Neos CMS
Sebastian Helzle
 
The Thick Front-End
The Thick Front-EndThe Thick Front-End
The Thick Front-End
Jeff Dickey
 
Steve Bailey — Core Web Vitals & Roadblocks to Success
Steve Bailey — Core Web Vitals & Roadblocks to SuccessSteve Bailey — Core Web Vitals & Roadblocks to Success
Steve Bailey — Core Web Vitals & Roadblocks to Success
Semrush
 
How to Create a Photography Website
How to Create a Photography WebsiteHow to Create a Photography Website
How to Create a Photography Website
nor_nilam
 

What's hot (6)

Iseltech17 - Single Page Applications
Iseltech17 - Single Page ApplicationsIseltech17 - Single Page Applications
Iseltech17 - Single Page Applications
 
David Szetela — PPC vs SEO
David Szetela — PPC vs SEODavid Szetela — PPC vs SEO
David Szetela — PPC vs SEO
 
Improving editors' lives with Neos CMS
Improving editors' lives with Neos CMSImproving editors' lives with Neos CMS
Improving editors' lives with Neos CMS
 
The Thick Front-End
The Thick Front-EndThe Thick Front-End
The Thick Front-End
 
Steve Bailey — Core Web Vitals & Roadblocks to Success
Steve Bailey — Core Web Vitals & Roadblocks to SuccessSteve Bailey — Core Web Vitals & Roadblocks to Success
Steve Bailey — Core Web Vitals & Roadblocks to Success
 
How to Create a Photography Website
How to Create a Photography WebsiteHow to Create a Photography Website
How to Create a Photography Website
 

Similar to Web Animation Techniques for 2017

Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practices
mintersam
 
Web Images, The Right Way
Web Images, The Right WayWeb Images, The Right Way
Web Images, The Right Way
Thanh Trần Trọng
 
Larson CGM and SVG Webinar
Larson CGM and SVG WebinarLarson CGM and SVG Webinar
Larson CGM and SVG Webinar
Larson Software Technology
 
The Future of HTML5 Motion Design
The Future of HTML5 Motion DesignThe Future of HTML5 Motion Design
The Future of HTML5 Motion Design
Terry Ryan
 
The future of BYU web design
The future of BYU web designThe future of BYU web design
The future of BYU web design
Nate Walton
 
Design responsively
Design responsivelyDesign responsively
Design responsively
Célia Leocádio
 
A Day Building Fast, Responsive, Extensible Single Page Applications
A Day Building Fast, Responsive, Extensible Single Page ApplicationsA Day Building Fast, Responsive, Extensible Single Page Applications
A Day Building Fast, Responsive, Extensible Single Page Applications
Chris Love
 
The high resolution web
The high resolution webThe high resolution web
The high resolution web
Patric Lanhed
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design
CLEVER°FRANKE
 
S. Responsive Web Design
S. Responsive Web DesignS. Responsive Web Design
S. Responsive Web Design
shelly3160
 
2014 Android and iOS Design Trends
2014 Android and iOS Design Trends2014 Android and iOS Design Trends
2014 Android and iOS Design Trends
RapidValue
 
SVG Strikes Back
SVG Strikes BackSVG Strikes Back
SVG Strikes Back
Matt Baxter
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
Zeeshan Khan
 
Images blast off at the speed of Jamstack! - Alba Silvente Fuentes
Images blast off at the speed of Jamstack! - Alba Silvente FuentesImages blast off at the speed of Jamstack! - Alba Silvente Fuentes
Images blast off at the speed of Jamstack! - Alba Silvente Fuentes
Wey Wey Web
 
Java servlets and CGI
Java servlets and CGIJava servlets and CGI
Java servlets and CGI
lavanya marichamy
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
Julia Vi
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work EverywhereUsing Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
Chris Love
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
Frédéric Harper
 
Hacking to be performant
Hacking to be performantHacking to be performant
Hacking to be performant
Apoorv Saxena
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
Chris Love
 

Similar to Web Animation Techniques for 2017 (20)

Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practices
 
Web Images, The Right Way
Web Images, The Right WayWeb Images, The Right Way
Web Images, The Right Way
 
Larson CGM and SVG Webinar
Larson CGM and SVG WebinarLarson CGM and SVG Webinar
Larson CGM and SVG Webinar
 
The Future of HTML5 Motion Design
The Future of HTML5 Motion DesignThe Future of HTML5 Motion Design
The Future of HTML5 Motion Design
 
The future of BYU web design
The future of BYU web designThe future of BYU web design
The future of BYU web design
 
Design responsively
Design responsivelyDesign responsively
Design responsively
 
A Day Building Fast, Responsive, Extensible Single Page Applications
A Day Building Fast, Responsive, Extensible Single Page ApplicationsA Day Building Fast, Responsive, Extensible Single Page Applications
A Day Building Fast, Responsive, Extensible Single Page Applications
 
The high resolution web
The high resolution webThe high resolution web
The high resolution web
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design
 
S. Responsive Web Design
S. Responsive Web DesignS. Responsive Web Design
S. Responsive Web Design
 
2014 Android and iOS Design Trends
2014 Android and iOS Design Trends2014 Android and iOS Design Trends
2014 Android and iOS Design Trends
 
SVG Strikes Back
SVG Strikes BackSVG Strikes Back
SVG Strikes Back
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Images blast off at the speed of Jamstack! - Alba Silvente Fuentes
Images blast off at the speed of Jamstack! - Alba Silvente FuentesImages blast off at the speed of Jamstack! - Alba Silvente Fuentes
Images blast off at the speed of Jamstack! - Alba Silvente Fuentes
 
Java servlets and CGI
Java servlets and CGIJava servlets and CGI
Java servlets and CGI
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work EverywhereUsing Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
Hacking to be performant
Hacking to be performantHacking to be performant
Hacking to be performant
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
 

Recently uploaded

Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

Web Animation Techniques for 2017

  • 1. Web Animation Techniques for 2017 A Comparison
  • 2. Assumptions • You don’t want animations to slow down your website • You want it to work for as many people as possible • You want the code to be maintainable • You are most likely using React, in 2017
  • 3. Considerations • Fidelity: How good does the animation look? • Browser Compatibility: How many people can see it? • Performance: How does it affect the speed of the website? • Ease of Implementation: How easy is it to create and maintain?
  • 4. Approaches CSS animations with HTML CSS animations with SVG GIF animation HTML5 video SVG animation with Javascript Lightweight Mediumweight Heavyweight
  • 6. CSS animations with HTML CSS animations with SVG “CSS animations has had a bit of a resurgence lately likely because it’s the easiest way to go for animations in React. In terms of real-world animations on the web, sometimes CSS is Occam’s Razor.” – Sarah Drasner, author of “SVG Animations”
  • 7. CSS animations with HTML • Fidelity: Only the most basic animations can be achieved, but the animation scales to any screen size. • Browser Compatibility: The most widely-supported. If CSS animation isn’t supported by a browser, it degrades gracefully to a static image. • Performance: Because it’s just code, the animation is very lightweight and doesn’t impact loading times. • Ease of Implementation: Easy to implement and maintain. Recommended for use with React.
  • 8. CSS animations with SVG • Fidelity: SVG allows for more control over graphics and the animation scales to any screen size • Browser Compatibility: Both CSS animation and SVG are widely supported • Performance: Because it’s just code, the animation is very lightweight and doesn’t impact loading times • Ease of Implementation: Browser inconsistencies may require some development effort to address. Recommended for use with React.
  • 10. GIF Animation • Fidelity: Extensive control over graphics and effects, but there is no control over playback. It comes in a fixed size. • Browser Compatibility: The oldest image format on the web. You won’t run into compatibility issues with it • Performance: It’s a performance nightmare. The team that built Safari found that “GIFs can be up to twelve times as expensive in bandwidth and twice as expensive in energy use. It’s so expensive that many of the largest GIF providers have been moving away from GIFs and toward the <video> element.” • Ease of Implementation: Requires pre-production by designers, changes cannot be made in code.
  • 12. HTML5 Video • Fidelity: Extensive control over graphics, sequencing, and effects, but no control over timing beyond playing and pausing. It comes in a fixed size. • Browser Compatibility: Video is widely supported but control over playback on mobile is limited • Performance: Video files, even compressed, will make a significant impact on loading times • Ease of Implementation: Requires pre-production by designers, changes cannot be made in code. Requires custom video hosting to be used as part of the UI.
  • 13. SVG animation with Javascript • Fidelity: Complete control over every aspect of the animation including sequencing, timing, scale. • Browser Compatibility: Browser support varies depending on Javascript library used • Performance: Additional Javascript code will make a slight impact on loading times and might slow down some low-end devices • Ease of Implementation: Requires considerable effort to implement, especially with React, as there are no out-of-the-box solutions.
  • 14. References • CSS-Tricks, SVG Animation and CSS Transforms: A Complicated Love Story. https://css-tricks.com/svg-animation-on-css-transforms/ • Sarah Drasner, A Comparison of Animation Technologies. https://css- tricks.com/comparison-animation-technologies/ • Rachel Nabors, Web Animation Past, Present, and Future. https:// alistapart.com/article/web-animation-past-present-and-future • Webkit Blog, New <video> Policies for iOS. https://webkit.org/blog/6784/ new-video-policies-for-ios/