54
Rebounding with Web Animation

HxRefactored: Rebounding with Web Animation by Nick Snyder

Embed Size (px)

DESCRIPTION

Nick covers the pitfalls of Flash animation—in regards to user experience and accessibility—while translating the good parts to a JavaScript-based approach.

Citation preview

Page 1: HxRefactored: Rebounding with Web Animation by Nick Snyder

Rebounding with Web Animation

Page 2: HxRefactored: Rebounding with Web Animation by Nick Snyder

Hello, Slides

Page 3: HxRefactored: Rebounding with Web Animation by Nick Snyder

Can I still keep the mustache???

Page 4: HxRefactored: Rebounding with Web Animation by Nick Snyder

Sweet!

Page 5: HxRefactored: Rebounding with Web Animation by Nick Snyder

NickSnyder.is

@_NickSnyder

About Nick Snyder

Aquarius

Chaotic Neutral

• Creative Technologist at Mad*Pow in Boston, MA

• Lover of all things design, animation, and Legend of Zelda

• Member of the South Jersey pub trivia Hall of Fame

Page 6: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 7: HxRefactored: Rebounding with Web Animation by Nick Snyder

A Brief History of Web Animation

The Formulas of Animation

Web Animation Today

Today’s Agenda

Page 8: HxRefactored: Rebounding with Web Animation by Nick Snyder

A Brief History of Web Animation

Page 9: HxRefactored: Rebounding with Web Animation by Nick Snyder

What he really means: “It kinda sucks.”

Page 10: HxRefactored: Rebounding with Web Animation by Nick Snyder

Web Animation Methods

Animated GIFs (1987 or 1990, depending on the nerd)

Macromedia/Adobe Flash (1995)

JavaScript (1997)

Page 11: HxRefactored: Rebounding with Web Animation by Nick Snyder

Oooh…he said GIF wrong!

Page 12: HxRefactored: Rebounding with Web Animation by Nick Snyder

Web Animation Methods

Animated GIFs (1987 or 1990, depending on the nerd)

Macromedia/Adobe Flash (1995)

JavaScript (1997)

Page 13: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 14: HxRefactored: Rebounding with Web Animation by Nick Snyder

Moving images have an overpowering effect on the human peripheral vision. This is a survival instinct from the time when it was of supreme importance to be aware of any saber-toothed tigers before they could sneak up on you. These days, tiger-avoidance is less of an issue, but anything that moves in your peripheral vision still dominates your awareness: it is very hard to, say, concentrate on reading text in the middle of the page if there is a spinning logo up in the corner.

Page 15: HxRefactored: Rebounding with Web Animation by Nick Snyder

• Showing continuity in transitions

• Indicating dimensionality in transitions

• Illustrating change over time

• Multiplexing the display

• Enriching graphical representations

• Visualizing three-dimensional structures

• Attracting attention

Page 16: HxRefactored: Rebounding with Web Animation by Nick Snyder

About 99% of the time, the presence of Flash on a website constitutes a usability disease. Although there are rare occurrences of good Flash design (it even adds value on occasion), the use of Flash typically lowers usability. In most cases, we would be better off if these multimedia objects were removed. !

Flash tends to degrade websites for three reasons: it encourages design abuse, it breaks with the Web's fundamental interaction principles, and it distracts attention from the site's core value.

Page 17: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 18: HxRefactored: Rebounding with Web Animation by Nick Snyder

About 99% of the time, the presence of Flash on a website constitutes a usability disease. Although there are rare occurrences of good Flash design (it even adds value on occasion), the use of Flash typically lowers usability. In most cases, we would be better off if these multimedia objects were removed. !

Flash tends to degrade websites for three reasons: it encourages design abuse, it breaks with the Web's fundamental interaction principles, and it distracts attention from the site's core value.

Page 19: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 20: HxRefactored: Rebounding with Web Animation by Nick Snyder

The Formulas of Animation

Page 21: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 22: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 23: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 24: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 25: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 26: HxRefactored: Rebounding with Web Animation by Nick Snyder

12 Principles of Animation• Squash and Stretch

• Anticipation

• Staging

• Straight Ahead and Pose-to-Pose

• Follow Through and Overlapping Action

• Slow-out and Slow-in

• Arcs

• Secondary Action

• Timing

• Exaggeration

• Solid Drawing

• Appeal

Page 27: HxRefactored: Rebounding with Web Animation by Nick Snyder

12 Principles of Animation• Squash and Stretch

• Anticipation

• Staging

• Straight Ahead and Pose-to-Pose

• Follow Through and Overlapping Action

• Slow-out and Slow-in

• Arcs

• Secondary Action

• Timing

• Exaggeration

• Solid Drawing

• Appeal

Page 28: HxRefactored: Rebounding with Web Animation by Nick Snyder

Computer Animation

Delay - Time between frames Duration - Total time of the animation Delta - Calculation of the next step Step - Rendered frame

Page 29: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 30: HxRefactored: Rebounding with Web Animation by Nick Snyder

Math is scary.

Page 31: HxRefactored: Rebounding with Web Animation by Nick Snyder

…ok.

Page 32: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 33: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 34: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 35: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 36: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 37: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 38: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 39: HxRefactored: Rebounding with Web Animation by Nick Snyder

Jerk.

Page 40: HxRefactored: Rebounding with Web Animation by Nick Snyder

Web Animation Today

Page 41: HxRefactored: Rebounding with Web Animation by Nick Snyder

Animation Goals• Be Useful

• Be Purposeful

• Attract Attention to a Problem or Solution

• Be Playful

Page 42: HxRefactored: Rebounding with Web Animation by Nick Snyder

Improve the payment experience with animations

by Michaël Villar (Stripe)

Page 43: HxRefactored: Rebounding with Web Animation by Nick Snyder

Animation Adding Context

Page 44: HxRefactored: Rebounding with Web Animation by Nick Snyder

Animation Sympathizing

Page 45: HxRefactored: Rebounding with Web Animation by Nick Snyder

Animation Being Tricksy (Hobbitses)

Page 46: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 47: HxRefactored: Rebounding with Web Animation by Nick Snyder

Animation Being Tricksy (Hobbitses)

Page 48: HxRefactored: Rebounding with Web Animation by Nick Snyder

Animation That Delights and Encourages

Page 49: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 50: HxRefactored: Rebounding with Web Animation by Nick Snyder
Page 51: HxRefactored: Rebounding with Web Animation by Nick Snyder

Development• jQuery

• Easing.js

• Kahn Academy

• Experimentation Time

Page 52: HxRefactored: Rebounding with Web Animation by Nick Snyder

In Summary• Animation is a powerful tool for

grabbing attention

• Animation for the sake of animation is bad

• Learn/Love the 12 Principles of Animation

• Math is your friend

• Every animation should have a purpose or a goal

• Animation is fun; you should have fun while making it

Page 53: HxRefactored: Rebounding with Web Animation by Nick Snyder

NickSnyder.is/hxr

Page 54: HxRefactored: Rebounding with Web Animation by Nick Snyder

Thank You!NickSnyder.is @_NickSnyder

MadPow.com @MadPow