Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “After Effects Class #63: Math.sin, linear, and ease Expressions: Swinging Lantern”.
Other ways we can help with Adobe After Effects.
Learn with a mentor
Scheduled Video Editing courses with live guidance and a certificate.

Course/Training Bimbingan Skripsi/Tesis/Disertasi Adobe After Effects
★ 4.9 (3)

Course/Training Resolume Arena — Resolume Arena Mastery: Visual Mixing and VJing
★ 5.0 (12)

Adobe Premiere Pro CC 2019 Basic to Ultimate Training Course
★ 5.0 (9)
Have it built for you
No time to learn Adobe After Effects? Our team can do the project for you.

Development Service: Bimbingan Skripsi/Tesis/Disertasi Adobe After Effects
★ 5.0 (3)

Development Service: Adobe After Effects — Expressions Expert
★ 5.0 (3)

Adobe Premiere Pro Creation Service — Video Editing for Internet Marketers
★ 5.0 (4)
Get notified about new Adobe After Effects classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
This is the result we will create, a gently swaying lantern, floating up and down, and appearing smoothly above a night plaza, without any keyframes, just formulas. Let's get started. Welcome back to the complete Adobe After Effects series from Cerdas Inovasi Digital. The final episode of this expression module covers three of the most useful mathematical functions for animators. Mesh sign for back-and-forth motion, linear and ease for mapping one range of values to another. Create a composition from the night plaza footage.
Create a rounded red square named 'Lampion' in the center top of the screen. With the Pan Behind tool, move the anchor point to the top edge of the lantern, since the lantern will swing from its hanging point.
Mesh sign produces a wave that goes up and down between minus one and one. On rotation, type mesh sign (time * 3), then * 20. The number three is the swing speed, the number twenty is the maximum angle. The lantern swings gently left and right.
On position, type value (0, mesh sign time * 2 * 15). The lantern slowly rises and falls 15 pixels. Because the speed is different from the swing, the motion feels natural and not stiff.
The linear function maps one range to another range. On opacity, type linear (time 0,2,0,100). This means, when time moves from 0 to 2 seconds, opacity moves from 0 to 100. After 2 seconds, the value remains at 100.
Is works like linear but with the start and end slowed down. On scale, type is (time 0,1,5, [0,0], [100,100]). The lantern grows from 0 smoothly, as if given isi.
Preview the animation. The lantern appears, grows, sways, and floats. Everything comes from four lines of formulas. Change just one number to alter the motion character. Done
We've already used easing for swinging and floating motion, linear to map time to opacity, and ease for smooth scaling. The expression module is complete, and in the next module we enter the 3D world. Need a promotional video, logo animation, motion graphics for social media, or visual effects for short films? Cerdas Inovasi Digital provides motion graphics and visual effects services, as well as After Effects courses from beginner to advanced. Want to master the entire series? 104 episodes from the interface to final projects? All episodes, complete with step-by-step PDF guides, source footage, and project scripts, are available for premium tutorial subscribers. Subscribe starting at Rp69.000 per month, save 28% with the 12-month package, or pay once Rp999.000 for lifetime access. Want a single class only? Buy a single class with lifetime access. Subscribe now on the premium page cerdasinovasidigital.com. Contact our WhatsApp or visit cerdasinovasidigital.com. Thank you for watching, see you in the next episode. Thank you for watching,
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →