Motion Design for IOS (eight)

Source: Internet
Author: User

In Jeff's map animation, he also used a combination of all position, transparency, and scale animations.

    • The initial panel is slightly smaller and less transparent, so it fades well into the background of the application.
    • The map panel starts with a percentage that is slightly larger than 1 times times (probably 1.1 times times the same) and 0.0 transparency. The animation is then reduced to 1 times times and 1.0 transparency. It also has a slight position animation to move up some pixels.

Remember the watch's interface and its smooth movements? There really is no secret, the only property of this animation design is the position of the element. Without adjustment of scale or transparency, elements are simply moved in and out of the screen by changing their position. The start time of each animation is slightly staggered from the previous element to give a "drag-and-drop" feel, but the only thing used in the animation is the position.

Animating the position, transparency, and proportions of an element allows you to go a long way, but there are also other properties that you can manipulate in the animation. Here are the three element attributes that are often used in higher-level animations.

颜色。Just like in a CSS animation, you can transition colors between two values. This can be the color or shape of some text in your interface and the background color of the panel. You can transition colors when you click or introduce a new interface to the user. Or, you can switch slowly between colors when the user first experiences a swipe.

旋转。Objects in your interface can rotate, from the initial 0 degrees to 360 degrees of rotation to 360 degrees of overall rotation and back to 0 degrees. When you create an animation in your code, the rotation is usually expressed in radians (0 to 2π). A slight rotation animation can add a very dexterous and interesting element to the original normal motion, especially when the jump animation curve is discussed later.

3D。Changing an object in a three-dimensional way in your interface means manipulating it in the third direction, and when you use 3D in an animation, it's usually either 3D rotated back to the screen or rotated to the user. The number of rotations is also expressed in radians as the 2D plane rotates, but another key factor in 3D animation is how much perspective you want to use. By changing the perspective value, you can limit the number of elements that will be placed visually far from the front of the screen. This depends on the value of the deformation during the 3D change.

An example of a fine 3D effect is the animation in the clear pinch. The visual effect is that the task item line is visually folded in half, and each half of it rotates inside the screen (in 3D space). The number of rotations and the position of the upper and lower halves of the line are carefully controlled, so there is no gap in the middle to affect the effect. Also, to make it look like a three-dimensional object, make the upper part of the line darker than the lower half to show a shadow. This is similar to the Bounce animation in paper: When the news was opened, a 3D change was used to rotate to the user.

Pinch interaction in clear

All rights reserved: Http://blog.csdn.net/cloudox_

Long-term commitment to iOS English data translation
I find it helpful to support my brother.

Motion Design for IOS (eight)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.