SlideShare a Scribd company logo
UIアニメーションのセオリー
  -気持ちいい動きをデザインしよう-




      @itsuki_kosen
・自己紹介



        福井高専電子情報工学科5年


        多田 一貴        Kazuki TADA


            itsuki_kosen

            facebook.com/itsukichang

        keyword : Flash (AS2, 3), UI
・対象

動きのあるコンテンツ
・webサイト
 ◦メニュー
 ◦画像

・webアプリケーション
 ◦画像

・スマホアプリ
 ◦画面遷移    etc...   ※ユーザの動作に対する細かいギミック
・既存の技術




  ・jQuery

  ・jsTweener

  ・sprite.js
・今日のお話

2つのポイント

     ライブラリを使わず柔軟に対応できる、
     アニメーションの実装方法

     気持ち良さのツボ、
     アニメーションのメリハリ
・今日のお話

2つのポイント

     ライブラリを使わず柔軟に対応できる、
     アニメーションの実装方法

     気持ち良さのツボ、
     アニメーションのメリハリ
・アニメーションの実装方法




    動きの定番、 徐々に○○
・JOJOに○○      ※特別出演:ささきくん,しろくろくん


インタラクションとしてのアニメーション

・拡大/縮小

・スライド

・フェードイン/アウト

・回転
etc...
・JOJOに○○

アニメーションのパターン
・動きが等速




・動きが等速ではない
・JOJOに○○

アニメーションのパターン
・動きが等速
  時間毎の動きが一定
  (10秒で100px移動するなら,1秒毎の
   移動量は常に10px)


・動きが等速ではない
・JOJOに○○

アニメーションのパターン
・動きが等速
   時間毎の動きが一定
  (10秒で100px移動するなら,1秒毎の
   移動量は常に10px)


・動きが等速ではない
   時間毎の動きが変化する
  (10秒で100px移動するとき,1秒毎の
   移動量は常に違う.
   1秒目40px 2秒目20px 3秒目10px...)
・JOJOに○○

アニメーションのパターン
・動きが等速

   なんだかぎこちない


・動きが等速ではない


   アニメーションっぽい!
・JOJOに○○

アニメーションのパターン
・動きが等速

   なんだかぎこちない


・動きが等速ではない


   アニメーションっぽい!
・JOJOに○○

定番のテクニック   -滑らかな動きの為の増加量-




   増加値 = ( 目的値 - 現在値 )      n
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-




   増加値 = ( 目的値 - 現在値 )       n


   数式まで出てきたモウダメダ... _:(́ཀ`」 ∠):
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-



      ( 目的値 - 現在値 )          n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-



      ( 目的値 - 現在値 )            n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!


            時間毎の動きが変化する
            (10秒で100px移動するとき,1秒毎の
             移動量(増加値) は常に違う.
            1秒目40px 2秒目20px 3秒目10px...)
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-



        ( 目的値 - 現在値 )        n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!




 スタート                             ゴール
 10px                            100px
・JOJOに○○

定番のテクニック     -滑らかな動きの為の増加量-



      ( 目的値 - 現在値 )              n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!

    +30px   +20px   +15px +8px +6px +4px +...
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )        n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!



        ( 100 - 10 )    n
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )        n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!



        ( 100 - 10 )    4
・JOJOに○○

定番のテクニック     -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )            n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!



    ( 100 - 10 )     4   = 22.5

  次の現在値 = 今の値+増加値 = 10 + 22.5 = 32.5
・JOJOに○○

定番のテクニック      -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )           n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!



   ( 100 - 32.5 )    4    = 16.8

  次の現在値 = 今の値+増加値 = 32.5 + 16.8 = 49.3
・JOJOに○○

定番のテクニック        -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )                  n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!


   10 → 32 → 49 → 62 → 71 → 78 → 84 →
   90 → 93 → 95 → 96 → 97 → 98 → 99 → 100!
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )        n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!



           ちなみに   n   とは?
・JOJOに○○

定番のテクニック    -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )        n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!



           ちなみに   n   とは?

    目的値に到達するまでの早さ,増加値が変化する
・JOJOに○○

定番のテクニック             -滑らかな動きの為の増加量-


   増加値 = ( 目的値 - 現在値 )                            n

  例) 画像を10pxから100pxまで滑らかに拡大させたい!

   10 → 32 → 49 → 62 → 71 → 78 → 84 →
   90 → 93 → 95 → 96 → 97 → 98 → 99 → 100!
                                                      n=4

   10 → 55 → 77 → 88 → 94 → 97 → 98 → 99 → 100!       n=2
   10 → 21 → 31 → 39 → 47 → 53 → 59 →
   64 → 69 → 72 → 76 → 79 → 81 → 84 →...
                                                      n=8
・JOJOに○○

大事なただ1つのテクニック



   増加値 = ( 目的値 - 現在値 )          n

 ・拡大/縮小   ・スライド   ・フェードイン/アウト   ・回転

    その他全ての値を滑らかに遷移させることができる.
・今日のお話

2つのポイント

     ライブラリを使わず柔軟に対応できる、
     アニメーションの実装方法

     気持ち良さのツボ、
     アニメーションのメリハリ
・今日のお話

2つのポイント

     ライブラリを使わず柔軟に対応できる、
     アニメーションの実装方法

     気持ち良さのツボ、
     アニメーションのメリハリ
・気持ち良さのツボ




     気持ちいい動きとは、
     メリハリがしっかりした動き。
・気持ち良さのツボ -メリハリ①

①毎回目的値まで必ず到達すること。
 ・よくある事例

   マウスオーバーしたら○○。
                         \むくむくっ/
   マウスアウトで元に戻る。                    \しょぼんぬ/


   例) 画像にマウスオーバーで拡大
      マウスアウトしたら元のサイズに。
・気持ち良さのツボ -メリハリ①

①毎回目的値まで必ず到達すること。
 ・よくある事例

   マウスオーバーしたら○○。
                         \むくむくっ/
   マウスアウトで元に戻る。                    \しょぼんぬ/


   例) 画像にマウスオーバーで拡大
      マウスアウトしたら元のサイズに。


※注意点:拡大途中でマウスアウトしても、
     必ず最大値まで大きくなること。
・気持ち良さのツボ -メリハリ①

①毎回目的値まで必ず到達すること。


 ・スッキリする
 ・毎回揃う気持ち良さがある(反復)
 ・複雑なアニメーションの際の挙動不審バグを潰せる

                            \ ンンギモヂィ /
・気持ち良さのツボ -メリハリ②

②入りは早く、戻りは余韻を残して。
     例) 画像にマウスオーバーで拡大
        マウスアウトしたら元のサイズに。
    具体例) マウスオーバーしたら1秒で 100px → 130px

マウスオーバー                               \ 130px /   マウスアウト
                                                         \ 120px /
                   \ 115px /
\ 100px /                                                                   \ 100px /
            0.2秒               0.8秒               0.5秒               0.5秒




※触れた瞬間、半分くらいの変化をしてしまう。
「変化があるんだ」という気づきをユーザに与えるため。
・気持ち良さのツボ -メリハリ②

②入りは早く、戻りは余韻を残して。

 ・変化にすぐ気づける
 ・レスポンスは早い方がいいよね
 ・入りと戻り、同じ秒数でも変化の割合をかけることで気
 持ち良さを表現できる
                         \ ンンギモヂィ /
・まとめ

①これ一つで滑らか遷移

   増加値 = ( 目的値 - 現在値 )   n

②気持ち良さのツボは、メリハリをつけること
                         \ ポイントやで! /
  ・目的値まで毎回到達
  ・動きの入りは早く、戻りには余韻を

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

UI animation's theory

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n