Sony Pixel Power calrec Sony

Building the World's Greatest Cameraman Using After Effects 5.5 Expression Controls

26/07/2023

Building the World's Greatest Cameraman Using After Effects 5.5 Expression Controls

Dan Ebberts July 26, 2023

0 Comments

Originally published in 2002

With version 5.5 of After Effects, Adobe added the wonderful world of the powerful new Expression Controls. In this tutorial, Dan Ebberts looks at several different ways that expression controls can be useful in your projects.

This is an Advanced Tutorial.

Download Project File .zip

Download Movie

introduction In this tutorial we're going to explore the wonderful world of the powerful new expression controls which Adobe introduced with After Effects 5.5. We'll look at several different ways that expression controls can be useful in your projects. First we'll examine the most straight-forward use of expression controls, which is to use them as a manual adjustment master control to help you set up a comp just the way you want it. Then we'll explore using expression controls as master animation controllers. Next we'll examine how you can use an expression control as a limited type of global variable to distribute information to expressions in other layers. Finally, we'll have some fun using expression controls to create the world's greatest cameraman. That's a lot of ground to cover, so let's get moving!

the basics

After Effects 5.5 introduced six new expression controls: slider control, angle control, checkbox control, color control, point control, and layer control. These controls are applied as effects and are located in the Expression Controls group in the effect menu. When using these for global animation control, I like to apply them to a null layer (and then turn off the visibility of the null so it doesn't clutter the comp window) so it will be easy to find them later, but you can apply them to other layers as well. The first control we're going to look at is the slider control.

slider control

Go ahead and open the project file and select the tab for the slider comp. This comp contains a null layer (to which a slider control has been applied), a simple Illustrator graphic layer that has been duplicated a bunch of times, and a camera. Notice that the graphic layers are 3D because we'll be using the slider control to position the layers in Z space. Select the null layer and hit Ctrl Shift t (PC) or Cmd Shift t (Mac) to reveal the Effect Controls palette. Select one of the graphic layers and type p to reveal the position property. Click on the little twirly to reveal the following expression:

position [0,0,(index-1)*this_comp.layer( Null 1 ).effect( Slider Control ).param( Slider )]

This expression establishes each layer's position in Z space based on its layer number (index) minus one, times the value of the slider. So as the value of the slider increases, the layers will spread themselves out along the z axis. Go ahead and scrub the value of the slider (by clicking on the value and dragging). Pretty slick, huh? Notice that if you drag the value negative, the layers spread out in the negative z direction. You can also adjust the value by clicking on the little twirly next to Slider and dragging the slider. One other thing to note is that if you right-click (PC) or Control-click (Mac) on the value and select Edit Value from the context menu, you can adjust the range of the slider. You might want to do this to give yourself a wider range or more precision with the slider.

Note that setting up a comp like this is fairly simple. The graphic layers are all exactly the same. Once you get the expression set up you can quickly create a bunch of duplicates by typing Ctrl d (PC) or Cmd d (Mac) and the expression will automatically accommodate any number of layers.

angle and color controls Select the tab for the angle and color comp . This comp contains a null and multiple copies of a graphic layer that has had its anchor point moved to the bottom and had the tint effect applied. Select the null layer and hit Ctrl Shift t (PC) or Cmd Shift t (Mac) to reveal the Effect Controls palette. You'll notice that the null has an angle control and two color controls applied. The color controls have been renamed start_color and end_color so that we can refer to them by name in our expressions. Select one of the graphic layers and type r to reveal the rotation property and click the little twirly to reveal the following expression:

index*this_comp.layer( Null 1 ).effect( Angle Control ).param( Angle )

This expression calculates the layer's rotation by multiplying the layer number (index) by the value of the angle control. With the graphic layer still selected, type e to display the effects applied to the layer. You'll notice that the tint affect has been applied. Click the little twirly next to Tint and then click the twirly next to Map White to to reveal the following expression (you'll have to expand the expression area to see it all):

if (this_comp.num_layers<3){

this_comp.layer( Null 1 ).effect( start_color ).param( Color )

}

else{

this_comp.layer( Null 1 ).effect( start_color ).param( Color )

(this_comp.layer( Null 1 ).effect( end_color ).param( Color )-this_comp.layer( Null 1 ).effect( start_color ).param( Color ))*

((index-1)/(this_comp.num_layers 2))

}

This expression first checks to see if there is only one graphics layer, in which case it just uses the color from the start_color control (this is necessary because without this code, the expression will abort on a divide by zero error when you first apply it to a single layer). The rest of the expression covers the usual case where there are multiple graphic layers. In that case, the expression spreads the color out so that the top layer gets the start_color and the bottom layer gets the end_color and the other layers get something in between. Note that
LINK: https://creativecow.net/building-the-worlds-greatest-cameraman-using-a...
See more stories from creativecow

Most recent headlines

17/02/2025

How BBC Wales returned live to 1985

TVBEurope talks to the team who brought a piece of broadcasting history back to life on BBC Wales last night By Jenny Priestley Published: February 14, 2025 ...

17/02/2025

Film studio tax relief programme gets underway in England

Eligible studios will receive the relief directly from their local authorities, with no need to submit a claim By Matthew Corrigan Published: February 17, 20...

17/02/2025

Empowering progress from within

As DEI initiatives come under pressure in the USA, supporters of Rise, which promotes diversity in the media and entertainment sector, discuss the continuing im...

17/02/2025

EIB Global Lends 125 Million To Finance SES's Medium Earth Orbit Satellites

EIB Global loan will partially fund SES's continued O3b mPOWER medium earth orbit (MEO) fleet expansion enabling additional capacity worldwide. O3b mPOWER s...

15/02/2025

Nielsen's Business Resource Groups celebrate inclusion with BRinG It! Campaign

At Nielsen, Business Resource Groups (BRGs) play a critical role in nurturing a ...

15/02/2025

Innovation to empower creativity: Explore the latest in Lightroom

Innovation to empower creativity: Explore the latest in Lightroom Rob Christensen February 15, 2025 0 Comments Whether you want to remove distracting ...

15/02/2025

Wisycom Expands Into Argentina and Uruguay With EQUAPHON

Wisycom, a worldwide leader in RF technology and provider of wireless solutions, announces a new distribution agreement with EQUAPHON. An Argentinian profession...

15/02/2025

DPA Microphones Adds to Sales and Marketing Teams

DPA Microphones, the leading manufacturer of high-quality microphone solutions, is pleased to welcome Nicholas Nick Mariano and Vincent Vince Divine to the ...

15/02/2025

Tuxera brings media-optimized SMB technology to NAB Show...

Tuxera, a leading provider of quality-assured file systems and networking solutions, will showcase how Tuxera Fusion SMB enables unprecedented performance for m...

15/02/2025

Bitmovin Report Ad Insertion Tops Streaming Challenges a...

Bitmovin's latest Video Developer Report indicates an increasing role of AI, the slow adoption of next-generation codecs, and continuing challenges when it ...

15/02/2025

Oberc Lights Michelin-Star Hotel Guide Promo with DoPchoi...

When Michelin Enterprises set out to promote its prestigious Hotel Guide in the new Sleepless in the Kitchen , campaign, veteran German/Slovenian gaffer Robert...

15/02/2025

Formula E Supercharges Fan Experience with AI-Driven High...

Formula E, the world's first all-electric racing series, revolutionizing motorsport with cutting-edge technology and a commitment to sustainability has sele...

15/02/2025

Agile Content is Now AgileTV

Agile Content, a global leader in TV and video technology solutions, announces its rebranding to AgileTV. The transition to AgileTV stems from a commitment to ...

15/02/2025

Hiltron to Promote Latest-Generation Satellite Communicat...

Hiltron Communications will promote the latest additions to its range of satellite communication products, systems and supporting services at GovSatCom 2025. Th...

15/02/2025

DoPchoice Debuts Airglow Float - Inflatable Round Topligh...

Following the success of the original Airglow Booklight, DoPchoice debuts a new addition to their inflatable line the Float. This lightweight, inflatable, round...

15/02/2025

Marshall to Debut RCP Plus Controller at 2025 NAB Show

LAS VEGAS Marshall Electronics has announced that it will debut its newest camera controller, the RCP Plus, at the 2025 NAB Show at Booth N2649 between April 5 ...

15/02/2025

Gray Media Names Blake Sebo GM of Stations in Anchorage, Alaska

ATLANTA Gray Media has named Blake Sebo as the next general manager of KTUU and KYES, Gray's NBC and CBS affiliates in Anchorage, Alaska....

15/02/2025

DPA Microphones To Introduce CORE+ Technology at NAB Show

KOKKEDAL, Denmark DPA Microphones will feature its new CORE+ technology for distortion-free microphone sound at the 2025 NAB Show, April 5-9, in Las Vegas....

15/02/2025

QuickLink To Unveil StudioPro-NDI, StudioPro-3 at 2025 NAB Show

SWANSEA, U.K. QuickLink will launch StudioPro-NDI and StudioPro-3, two new models of its QuickLine StudioPro video production platform, at the 2025 NAB Show, Ap...

15/02/2025

Live From 2025 NBA All-Star Game Weekend: After 25 Years, Turner Sports All-In For Final Production

Live From 2025 NBA All-Star Game Weekend: After 25 Years, Turner Sports All-In F...

15/02/2025

NASCAR Driver Cam on Max Embraces Cloud-Based Workflow for 2025 Season

NASCAR Driver Cam on Max Embraces Cloud-Based Workflow for 2025 Season Chris Brown of WBD Sports says Mobii will play key part in delivering signals from the tr...

14/02/2025

Spotify's Partner Program Helps Creators Increase Revenue and Consumption of Video Podcasts

Last month, we officially launched the Spotify Partner Program, a powerful new m...

14/02/2025

Four Ways L3Harris Targeting and Sensor Systems are Defining the Future of Land Missions

The future of electro-optical/infrared (EO/IR) land systems is evolving so that ...

14/02/2025

ISE 2025: 5 Reasons to Join Calrec at ISE

Here are 5 reasons why you should attend ISE 2025 Discover more about Calrec: Learn more about Calrec's legacy of innovation in broadcast audio solutions ...

14/02/2025

World Radio Day: On the same wavelength

World Radio Day: On the same wavelength By Graham Murray, International Sales Manager at Calrec To mark World Radio Day, Calrec's International Sales Ma...

14/02/2025

Tegna Inks Deal for Dallas Wings Broadcasts

DALLAS and TYSONS, Va. Tegna has concluded a broadcast rights agreement that makes Tegna's KFAA in Dallas the exclusive local television partner of the Dall...

14/02/2025

Prime Video Makes Significant Upgrades to Its Apple TV App

Amazon's Prime Video has released a new app for Apple TV that the streamer said delivers an improved streaming experiences with faster scrolling, improved s...

14/02/2025

Telos Alliance To Showcase Quasar V3.2 AoIP Software at NAB Show

CLEVELAND Telos Alliance announced a software update for its Axia Quasar XR and SR line of audio-over-IP (AoIP) mixing consoles and will show the offering at th...

14/02/2025

Puget Systems Returns to HPA Tech Retreat 2025 with New Analysis Tools for Puget Bench for Creators

Puget Systems Returns to HPA Tech Retreat 2025 with New Analysis Tools for Puge...

14/02/2025

Glass Animals: Tour of Earth Uses Blackmagic Live Production Workflow

Glass Animals: Tour of Earth Uses Blackmagic Live Production Workflow Brie Clayton February 14, 2025 0 Comments 80six deploys Blackmagic URSA Broadcas...

14/02/2025

Paramount, Youtube TV Avoid Channel Blackout, Will Continue Negotiations

A dispute between Paramount and Youtube TV that would have pulled CBS stations and Paramount's cable channels from the streaming service has been temporaril...

14/02/2025

Stop-motion triumph

Colourist Deidre (Dee) McClelland details how she helped shape the distinct look and feel of whimsical Oscar-nominated stop-motion film, Memoir of a Snail By C...

14/02/2025

BitFire appoints Jim Akimchuk as CEO

BitFire said it intends to introduce forward-looking services that simplify the launch of live production workflows, and enhance real-time collaboration By Jen...

14/02/2025

Arena TV liquidators dismiss banks' defence as unsustainable'

The claim by the liquidators is the latest twist in the ongoing saga of the companys collapse at the end of 2021 By Matthew Corrigan Published: February 14, ...

14/02/2025

YouTube TV Likely To Drop Paramount Channels Today

A carriage dispute between YouTube TV and Paramount could come to a head today (Feb. 13), with the virtual pay TV provider threatening to pull all of the progra...

14/02/2025

LG Opens Its First Virtual Production Studio

ENGLEWOOD CLIFFS, N.J. LG Electronics USA has opened a new in-house, state-of-the-art virtual production studio at its 360,000-square-foot North American headqu...

14/02/2025

CIMM, TVB Release Local TV and Video Innovation Showcase

NEW YORK In a bid to help local broadcasters find new ways of monetizing their content, the Coalition for Innovative Media Measurement (CIMM) and TVB have relea...

14/02/2025

U.S. Senators Blast Weaponization of FCC' Against Broadcasters

WASHINGTON Three Democratic U.S. Senators have sent a stern letter blasting FCC Chair Brendan Carr for the weaponization of the agency for attacking broadcast...

14/02/2025

The Apple TV App Comes to Android

Years after launching the streaming service Apple TV+ in November of 2019, Apple has finally released a version of its steaming app for Android devices....

14/02/2025

Red Adds Nikon Z Mount To V-RAPTOR [X], KOMODO-X Camera Systems

FOOTHILL RANCH, Calif. Red Digital Cinema will make its V-RAPTOR [X] and KOMODO-X camera systems available with Nikon's premier Z Mount, providing filmmaker...

14/02/2025

Fox Sports Revs Up for Daytona 500 With New NASCAR Deal, Some New Tech

DAYTONA, Fla. The Fox Sports production of this year's Daytona 500 will see the addition of a few new tech elements and the continued unfolding of the broad...

14/02/2025

Watch Bryson Battles Blind Audition on The Voice Get a Four-Chair Turn

Watch Bryson Battles Blind Audition on The Voice Get a Four-Chair Turn Michael Bubl said the Boston Conservatory at Berklee musical theater senior might have...

14/02/2025

2025 Daytona 500: FOX Sports Looks To Ride Super Bowl LIX Momentum Into NASCAR Season

2025 Daytona 500: FOX Sports Looks To Ride Super Bowl LIX Momentum Into NASCAR S...

14/02/2025

VEON's Kyivstar and the Come Back Alive Foundation Raise USD 2.6 Million for Demining in Ukraine

14 Feb 2025 VEON's Kyivstar and the Come Back Alive Foundation Raise USD 2....

14/02/2025

Max Renews THE PITT, Starring Noah Wyle, For A Second Season

Max Renews THE PITT, Starring Noah Wyle, For A Second Season Max Warner Bros. Television Group The Pitt New Episodes Of The Medical Drama From John...

14/02/2025

110 Years of Love in Every Frame: A Technicolor Celebration of Romance

This year, Technicolor proudly celebrates 110 years of shaping the magic of cinema pioneering color, visual effects, and innovation that bring unforgettable l...

14/02/2025

NBA All-Star: More Games, More Teams, More Music, More Sound From the Court

NBA All-Star: More Games, More Teams, More Music, More Sound From the Court Turner Sports' team will deploy familiar tech to capture all the audio By Dan D...

14/02/2025

LIV Golf Continues To Innovate With Drones, Data-Driven Graphics, and All-Access Features in Year 4

LIV Golf Continues To Innovate With Drones, Data-Driven Graphics, and All-Access...