Water Filling Animation
2. Use Insert > CALayer to add CALayer to the canvas. The CALayer act as water filling the glass so set the CALayer background color to blue using layer Inspector.
4. Rename the CALayer to water and set the height of the CALayer to 1. This indicate that the glass is initially empty.
5. Set the water anchor point to . This is to ensure the height animation will animate up because the anchor point is at the bottom.
Fill Water Animation Of Your Logo Text In Powerpoint
9. Ok, seems good. If you wonder why we dont use normal rectangle which use CAShapelayer, this is because in QuartzCode layers that support bounds animation are only CALayer and UIView.
11. First create a path similar to this path using vector tool, this act as first state of our water's noise. Rename the path to noise.
13. Move the noise to bottom of the glass and make the noise as sublayer to the water, so the layers order should look like this.
Glass Cup Fill Animation 3d Model $14
14. We need to make the noise as sublayer so that the noise will follow its parent animation, which means that it will go up when the water height is increasing.
15. To create different noise, copy noise layer and paste it two times at the canvas. Using vertex mode, Change the noise's path to something similar like these. It is important to copy original noise layer because the paths need to have same control point count for it to animate correctly.
16. To animate the water's noise, we need to animate the noise using path animation. First, add path timeline using Timeline Panel. Add a keyframe at middle of the path's timeline which means the path animation will have 3 keyframes or 3 different state. Then at Path section in Keyframe Inspector, change the path to noise2 and noise3 respectively for keyframe 2 and keyframe 3.
Water Filling Animation
18. Play the animation. Now you'll see the noise animating! Now for the noise path's timeline, set Auto Reverse to Yes and Repeat Count to 3. This will make the animation repeat and seems more natural.
19. To make the animation better, we are going to use transform and position animation and apply them to noise layer to make the shaking water seems more real.
20. Add transform timeline to the noise layer and make it to have 3 keyframe with equal time. Change the timeline keyframe value as these and make Auto Reverse to Yes,
Animation Water Drop Shape Filling Green Blue Background Stock Video Footage By ©vectorfusionart #301519220
21. Add position timeline to the noise layer. At toValue, move it down so that the water level is below the glass and below the water layer. This is how your final Timeline Panel should look like.
18. Play the animation. Now you'll see the noise animating! Now for the noise path's timeline, set Auto Reverse to Yes and Repeat Count to 3. This will make the animation repeat and seems more natural.
19. To make the animation better, we are going to use transform and position animation and apply them to noise layer to make the shaking water seems more real.
20. Add transform timeline to the noise layer and make it to have 3 keyframe with equal time. Change the timeline keyframe value as these and make Auto Reverse to Yes,
Animation Water Drop Shape Filling Green Blue Background Stock Video Footage By ©vectorfusionart #301519220
21. Add position timeline to the noise layer. At toValue, move it down so that the water level is below the glass and below the water layer. This is how your final Timeline Panel should look like.
Posting Komentar untuk "Water Filling Animation"