Table of Contents
Authentic motion Real motion
Mass and weight: Mass and weight
Responsive Interaction Responsive Interaction
User Input
Surface reaction
Material response
Radial Action: Radial action
Meaningful transitions Yes Transition of Meaning
Visual continuity Visual continuity
Hierarchical timing
Consistent choreography
Delightful details
Home Web Front-end HTML Tutorial Material Design Animation_html/css_WEB-ITnose

Material Design Animation_html/css_WEB-ITnose

Jun 24, 2016 am 11:44 AM

Material Design Animation

Authentic motion Real motion

Movement flows gracefully The form describes spatial relationships, functions and purposes.

Mass and weight: Mass and weight

In the physical world, for an object to move, a force must be exerted on it On it. The intensity and duration of the force determine the acceleration or change of the direction of motion of the object. Even the most rapid start and end do not happen instantaneously, because the acceleration or deceleration of an object takes a certain amount of time. Therefore, When animations have abrupt beginnings or ends, or abrupt changes in direction, they can look unnatural.

Motion in material design should be as elegant as possible without losing elegance, simplicity and beauty. Close to realistic physical motion and real-world behavior.

Natural acceleration and deceleration

Changes in acceleration and deceleration should change smoothly over the duration of the animation.

For a specific purpose, to attract attention to an object, or to add features to an animation, you can change its acceleration at the beginning and end.

Asymmetric acceleration and Slowing down creates a more natural and pleasant motion.

When acceleration and deceleration are not smooth, the motion will appear mechanical, and abrupt changes in speed and direction will look jarring and draw attention. .

This is why asymmetrical curve changes are better than linear changes. Linear changes always have abrupt inflection points, so linear changes should be avoided.

Entry and Exit

Changes in the speed and direction of an object draw the user's attention.

An object changes speed as it enters and exits the frame , indicating the distance it moves.

For example, if an object slows down when exiting, it will attract attention, implying that it will stop not far from the outer border of the picture frame.

Especially , when making transition animations, you need to consider which part of the entrance or exit should get the most attention. A nearly constant speed should be used at both the entrance and exit to reduce attention.

Do not Speed ​​up when entering and slow down when exiting. This will attract a lot of unnecessary focus and distract the user.

Make adjustments

Not all objects All move in the same way. Lighter or smaller objects can move faster because they require less force, while larger or heavier objects take more time to accelerate.

Use Curves type of motion, avoid linear segmented paths. Find the motion characteristics that best suit the object, and express them accordingly.

The curve represents a behavior over time within a specific range of values. Change. Find the curve that best fits the motion you want to describe.

Responsive Interaction Responsive Interaction

User Input

Touch, sound, mouse, and keyboard are equally important user input.

UI elements should all look touchable, and visual and motion cues should promptly acknowledge user input, and should animate in a way that looks like it is being directly manipulated.

Surface reaction

After receiving the input event, the system should provide instant visual on the touch point Confirmation clues, such as: where the finger clicks, the mic of the voice input, the appropriate field of the keyboard click.

The core visual mechanism to express this contact is: "Click Ripple", that is, "Touch Ripple".

The device expresses a click event method and persistent event, and can also be used to express other dynamic variables, such as volume or click pressure.

Best practice: From Starting from the input contact point (such as the contact point of the fingertip or the icon of the sound mic), the visual response spreads radially (radially, radially).

Material response

In addition to ink-like surface reactions, materials can lift up when clicked, indicating an active state.

By clicking, users can generate new materials, or Convert existing materials, or manipulate materials directly by dragging or swiping.

Materials can be resized linearly or radially.

Display animation during state transition: http://developer.android.com/training/material/animations.html#ViewState

Origin: When triggered by the user When a new material is generated, it should start from the input point and grow in size. This establishes a connection between input and generation.

Click to raise: when When a card or a detachable element is activated, the card should rise to indicate that it is in an active state.

Specify the height for your View: http://developer.android.com/training /material/shadows-clipping.html#Elevation

Radial Action: Radial action

should add visuals to user input Reactions make it clearer .

The visual ripple of ink spreading out from the input point is a radial behavior.

Input events are visualized: Input events The connection to the on-screen event should be visually bound. For touch events or mouse, this occurs at the point of contact. For sound, it is the microphone icon. A touch ripple identifies the touch event. The position and time also indicate that the click input was received.

Connect input and behavior : The transition or behavior triggered by the input event should be connected with Input events have visual connections. Ripple reactions near the epicenter occur faster than reactions far away, such as: 1. A series of content changes: many pictures appear or disappear; 2. A series of material movements: cards move in or out Screen.

Use the reveal effect: http://developer.android.com/training/material/animations.html#Reveal

Meaningful transitions Yes Transition of Meaning

Motion design can effectively guide users’ attention in both ways to inform and delight.

Using motion can: Allow users to smoothly transition between navigation contexts , explain the arrangement of elements on the screen, and strengthen the concept of element inheritance system.

Visual continuity Visual continuity

Between two visual states Transitions should be clear, smooth, and effortless.

A well-designed transition tells the user where to focus their attention.

Transition Type And behavior:

Incoming elements: Newly generated or newly converted items are introduced or re-created.

Outgoing elements: Elements that are no longer relevant to the context are removed.

Shared elements: Elements present during the transition, which can be tiny (an icon), or dominant (a gallery image that slowly grows to take up the entire screen).

Custom Activity transitions: http://developer.android.com/training/material/animations.html#Transitions

Notes:

When designing animations , pay attention to the following aspects:

1. Guide the user's attention. Where should the user's attention be directed? What elements and movements can achieve this purpose? During the conversion process, incoming, outgoing, shared How should elements be emphasized or de-emphasized?

2. Visually connect transitions. Create visual connections between transition states, either through color or persistent elements.

3. Use Precise Movement. Consider how to move a specific element to add clarity and joy to a transition.

Hierarchical timing

When building a transition When doing this, pay attention to the order and timing of element movement. Make sure the movement supports information inheritance relationships by establishing a path for the line of sight to convey the most important content.

However, this is not a simple formula to say the most Important things move first, least important things move last.

Time to transform elements should flow smoothly, avoiding a disjointed feeling.

Consistent choreography

The elements in the transition should move in a coordinated manner. The path the elements take should be meaningful and orderly. Accidental movement will distract attention.

When the elements in the transition are coordinated, it will Help users better understand the application.

Use curved motion: http://developer.android.com/training/material/animations.html#CurvedMotion

Best Practice:

1. Try to avoid linear paths. The exception is when movement is restricted to an axis, or when movement is toward or away from a point.

2. Keep directional elements moving during transitions Consistent. Avoid conflicting motion and overlapping paths.

3. How deeply do elements move and why?

4. If all moving elements follow their paths on the screen, Will it look nice and orderly? Can it paint a clear picture of where to look?

5. Emphasize the spatial relationships between elements through consistent movement in and out.

Delightful details

Animation can exist in all elements of an app, regardless of size, from a detailed icon to a key transition and actions.

All elements work together to build a watertight experience and a functional and beautiful app.

The most basic use of animation is during transitions , but an app can really please users if it can use animation in small places.

A menu button that can be turned into an arrow or play button, controls a smooth transition, and has two functions at the same time: Notifying the user, it also makes the app itself full of surprises and design at this moment.

References

Material Design Animation: http://www.google.com/design/spec/animation/authentic-motion.html

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is the purpose of the <datalist> element? What is the purpose of the <datalist> element? Mar 21, 2025 pm 12:33 PM

The article discusses the HTML &lt;datalist&gt; element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

How do I use HTML5 form validation attributes to validate user input? How do I use HTML5 form validation attributes to validate user input? Mar 17, 2025 pm 12:27 PM

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

What is the purpose of the <progress> element? What is the purpose of the <progress> element? Mar 21, 2025 pm 12:34 PM

The article discusses the HTML &lt;progress&gt; element, its purpose, styling, and differences from the &lt;meter&gt; element. The main focus is on using &lt;progress&gt; for task completion and &lt;meter&gt; for stati

What are the best practices for cross-browser compatibility in HTML5? What are the best practices for cross-browser compatibility in HTML5? Mar 17, 2025 pm 12:20 PM

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

What is the purpose of the <iframe> tag? What are the security considerations when using it? What is the purpose of the <iframe> tag? What are the security considerations when using it? Mar 20, 2025 pm 06:05 PM

The article discusses the &lt;iframe&gt; tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

What is the purpose of the <meter> element? What is the purpose of the <meter> element? Mar 21, 2025 pm 12:35 PM

The article discusses the HTML &lt;meter&gt; element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates &lt;meter&gt; from &lt;progress&gt; and ex

What is the viewport meta tag? Why is it important for responsive design? What is the viewport meta tag? Why is it important for responsive design? Mar 20, 2025 pm 05:56 PM

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

How do I use the HTML5 <time> element to represent dates and times semantically? How do I use the HTML5 <time> element to represent dates and times semantically? Mar 12, 2025 pm 04:05 PM

This article explains the HTML5 &lt;time&gt; element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

See all articles