SlideShare a Scribd company logo
Animate this! Principles and practice
in UI animation
Tuesday, March 21, 17
Who the heck are
you? I’m Mario Noble
• Your friendly neighborhood
SCWDD Organizer
• Web Designer / Front end
developer
• UX Designer
• Jack of all digital trades
• SoCal cliche
Tuesday, March 21, 17
Why Animation in UI?
Tuesday, March 21, 17
Movement compels attention.
Tuesday, March 21, 17
Too much movement distracts.
Tuesday, March 21, 17
UI animation is a means to an end
not a means unto itself.
Tuesday, March 21, 17
Focus
Tuesday, March 21, 17
Focus
Tuesday, March 21, 17
Orientation
Tuesday, March 21, 17
Orientation
Tuesday, March 21, 17
Orientation
Tuesday, March 21, 17
Feedback
Tuesday, March 21, 17
Feedback
Tuesday, March 21, 17
Branding
Tuesday, March 21, 17
Branding
Tuesday, March 21, 17
Animation is the depiction of change over time.
Tuesday, March 21, 17
Animation is the depiction of change over time.
Tuesday, March 21, 17
12 Basic Principles of
Animation
https://vimeo.com/93206523
Tuesday, March 21, 17
A few key points...
Tuesday, March 21, 17
Tuesday, March 21, 17
Attention is a resource.
Tuesday, March 21, 17
A rule of thumb is to keep animations between
200-500ms.
Tuesday, March 21, 17
Animations can occur not only in transition on
screen...
Tuesday, March 21, 17
...and off screen...
Tuesday, March 21, 17
...but also in place.
Tuesday, March 21, 17
Eye flow...
Tuesday, March 21, 17
Eye flow...
and sequencing are key.
Tuesday, March 21, 17
Keep things consistent.
Tuesday, March 21, 17
Keep things consistent.
except where it makes sense to not be...
Tuesday, March 21, 17
Remember to integrate animation into your design
process just as you would the use of color.
★ Business and user priorities
★ IA
★ Storyboarding
★ Prototypes
★ Styleguides
★ User research
Tuesday, March 21, 17
Keep Accessibility in mind.
Tuesday, March 21, 17
Execution - The nitty gritty of making it happen.
★CSS transitions and animation
★jQuery
★Velocity.js
★Greensock (aka GSAP)
★Javascript Animation API
★Framework specific libraries (Angular, Polymer, React, native iOS/Android, etc.)
★DIY custom code
★I wish I could say Flash...
Tuesday, March 21, 17
There is no one right way.
Use whatever works for you best.
Tuesday, March 21, 17
We’re choosing GSAP to demo because it’s:
★Mature
★Platform agnostic
★Browser stable
★Plays nice
★Consistent handling of transforms and SVGs
★Full featured
Tuesday, March 21, 17
GSAP “Ecosystem”
★TweenLite
★TweenMax *
★TimelineLite
★TimelineMax
* TweenMax is the one you want to use starting out since it all the others built in.
Optimize as needed.
Plus various Plugins and Extensions
Tuesday, March 21, 17
A word about their licensing structure.
It’s free if you do not sell products or services made with it to multiple end users.
A single client is fine. By the way, I’m not affiliated with the company in any way...
Tuesday, March 21, 17
GSAP Basics (first we’ll tell, then we’ll show)
Tuesday, March 21, 17
TweenMax.method(target, duration, {vars},
position);
Example: TweenMax.to(box, 0.5, {x: 50, y:100});
Position is used in methods like staggerFrom
Tuesday, March 21, 17
Targeting
★ Can use any class or html tag (i.e. .my-class - uses queryselectorall)
★ getElementbyID
★ jQuery ($)
★ a var or array of references
Tuesday, March 21, 17
Duration
★ Usually in seconds
★ Can be frames
Tuesday, March 21, 17
Vars
★ Can be single and multiple css properties - properties should be converted from
using hyphens to camel case (e.g. border-radius is borderRadius)
★ Also uses special properties like easing, repeat, delay, timeline controls
★ GSAP callbacks and custom callbacks
Tuesday, March 21, 17
Position
★ Sets when the tween occurs in the timeline in terms of seconds or frames.
Tuesday, March 21, 17
also...
Tuesday, March 21, 17
Easing
★ Default
★ Out of the box
★ Custom
★ Let’s check out the visualizer
Tuesday, March 21, 17
Timeline fun
★ Reversing
★ From versus To
★ Staggers (aka offsets)
★ Yoyo
★ Timescale
Tuesday, March 21, 17
Multiple Animations
★ using new
★ standalone animations
★ added / chained animations
★ modifying multiple animations at once
Tuesday, March 21, 17
OK, let’s try this.
Tuesday, March 21, 17
Summary
★ Form follows function
★ Focus, Orientation, Feedback, Branding
★ Integrate Animation into the overall business, design and dev process
★ Animation frameworks will target change in target properties and their sequence
over time
★ Realistic animation often uses some form of easing
Tuesday, March 21, 17
Resources
★ Designing Interface Animation
★ The Illusion of Life
★ Greensock GSAP site
★ I Hate Tomatoes
★ Velocity JS
★ Mozilla’s JS Animation API
Tuesday, March 21, 17
Q&A / Sharing
Tuesday, March 21, 17

More Related Content

Similar to UI Animation principles and practice with GSAP (20)

PDF
Communicating animation slides
Rachel Nabors
 
PPT
Animation Basics (Tutorial III).ppt
simplenotify
 
PDF
Flash brochure
Zabeel Institute
 
PPT
Intro to Flash 8 welcome & course outline (2008)
Matteo Wyllyamz
 
PDF
Web Animation using JavaScript: Develop & Design (Develop and Design)
Tan Le
 
PDF
Designing Meaningful Animation - AIGA Design Camp 2015
Val Head
 
ODP
Simple flash animation
Bubblefruit.com
 
PPT
Foundation flash
Multimedia College Kuala Lumpur
 
PPT
Introduction To Flash
Nisarg Raval
 
PPTX
Animations in User interfaces
Kim Nørskov
 
PDF
Choosing your animation adventure - Ffronteers Conf 2017
Val Head
 
PDF
Designing Meaningful Animation
Val Head
 
PDF
The Ultimate Guide to Proper Use of Animation in UX
Gabriel Porras
 
PPTX
Apps in a Flash HCI
Jonathan Goldman
 
PDF
Advanced titanium for i os
Axway Appcelerator
 
PPT
Unit21 AO2
Stephen-Lee Farmer
 
PPTX
Web animation, interaction and user experience
saya4
 
PDF
Design in motion. The new frontier of interaction design
Antonio De Pasquale
 
PPTX
Creating a Motion Infographic for Learning
Shalin Hai-Jew
 
Communicating animation slides
Rachel Nabors
 
Animation Basics (Tutorial III).ppt
simplenotify
 
Flash brochure
Zabeel Institute
 
Intro to Flash 8 welcome & course outline (2008)
Matteo Wyllyamz
 
Web Animation using JavaScript: Develop & Design (Develop and Design)
Tan Le
 
Designing Meaningful Animation - AIGA Design Camp 2015
Val Head
 
Simple flash animation
Bubblefruit.com
 
Introduction To Flash
Nisarg Raval
 
Animations in User interfaces
Kim Nørskov
 
Choosing your animation adventure - Ffronteers Conf 2017
Val Head
 
Designing Meaningful Animation
Val Head
 
The Ultimate Guide to Proper Use of Animation in UX
Gabriel Porras
 
Apps in a Flash HCI
Jonathan Goldman
 
Advanced titanium for i os
Axway Appcelerator
 
Unit21 AO2
Stephen-Lee Farmer
 
Web animation, interaction and user experience
saya4
 
Design in motion. The new frontier of interaction design
Antonio De Pasquale
 
Creating a Motion Infographic for Learning
Shalin Hai-Jew
 

More from Mario Noble (9)

PDF
Fun with css frameworks
Mario Noble
 
PDF
Styling on steroids
Mario Noble
 
PDF
Testing html5 meetup slideshare
Mario Noble
 
PDF
Html 5 mobile - nitty gritty
Mario Noble
 
PDF
Git presentation
Mario Noble
 
PDF
Preprocessor presentation
Mario Noble
 
PDF
Responsive design presentation
Mario Noble
 
PPT
Html5 css3pres
Mario Noble
 
PPT
Cms pres
Mario Noble
 
Fun with css frameworks
Mario Noble
 
Styling on steroids
Mario Noble
 
Testing html5 meetup slideshare
Mario Noble
 
Html 5 mobile - nitty gritty
Mario Noble
 
Git presentation
Mario Noble
 
Preprocessor presentation
Mario Noble
 
Responsive design presentation
Mario Noble
 
Html5 css3pres
Mario Noble
 
Cms pres
Mario Noble
 
Ad

Recently uploaded (20)

PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Practical Applications of AI in Local Government
OnBoard
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Kubernetes - Architecture & Components.pdf
geethak285
 
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Ad

UI Animation principles and practice with GSAP