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

20/12/2025

Atomos Updates Ninja TX GO-Ninja TX With ProRes RAW and C...

Atomos announced the immediate availability of a new firmware update for its Ninja TX GO and Ninja TX monitor-recorders, unlocking ProRes RAW recording from the...

20/12/2025

CJP Broadcast Completes Digitisation of European Gymnasti...

CJP Broadcast has completed the digitisation of the European Gymnastics tape archive, converting 328 tapes containing more than forty years of recorded material...

20/12/2025

Bitmovin Launches Stream Lab MCP Server

Bitmovin, the leading provider of video streaming solutions, today announced the launch of the Stream Lab MCP Server, to give AI agents and large language model...

20/12/2025

Gracenote Unveils New Immersive Features for Sports Hubs

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

20/12/2025

Morgan Murphy Media Promotes Jill Shiroma to VP of Digital Strategy

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

20/12/2025

Samsung Makes GameBreaks Ad Format Available Programmatically

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

20/12/2025

FCC Extends Deadline for Comments on Upper C-Band Proposals

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

20/12/2025

Scripps Sports Inks Deals for Soccer and Professional Cheerleading

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

20/12/2025

Atomos Unveils Firmware Update For Ninja TX and TX GO

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

20/12/2025

Barack Obama Includes Laufey on His 2025 Favorite Music List

Barack Obama Includes Laufey on His 2025 Favorite Music List The former presidents roundup of books, music, and movies includes a song from the Berklee alums ...

20/12/2025

December 19, 2025

Study reveals a key hormonal circuit in the kidneys Scripps Research scientists identify the protein that helps kidney cells regulate renin, providing foundatio...

19/12/2025

With Playout Release 2025.4, ToolsOnAir continues to push professional playout workflows forward on macOS.

With Playout Release 2025.4, ToolsOnAir continues to push professional playout w...

19/12/2025

SVG Sit-Down: Diversified's Jared Timmins on AI for Broadcast Sports and Creating the Smart Venue'

SVG Sit-Down: Diversified's Jared Timmins on AI for Broadcast Sports and Cre...

19/12/2025

2025 SVG Summit Audio Recap: Say What?

2025 SVG Summit Audio Recap: Say What?The Audio Production and Distribution Workshop at the SVG Summit 20 took on issues including speech intelligibility, Next-...

19/12/2025

Gamified Fun: Channel 5 on its NFL Big Game Night Ambitions with Hungry Bear Media

Gamified fun: Channel 5 on its NFL Big Game Night ambitions with Hungry Bear Med...

19/12/2025

College Football Playoff Preview: For ESPN, Round 1 is a Fantastic Yet Familiar Saturday of Production

College Football Playoff Preview: For ESPN, Round 1 is a Fantastic Yet Familia...

19/12/2025

AWS's Jason Dvorkin on Developing Partnerships With the NBA and PGA Tour, Embracing the Use of Agentic AI

AWS's Jason Dvorkin on Developing Partnerships With the NBA and PGA Tour, Em...

19/12/2025

Netflix Kicks Off Packed Sports Week with Paul-Joshua Fight Before Shifting to NFL Christmas Doubleheader

Netflix Kicks Off Packed Sports Week with Paul-Joshua Fight Before Shifting to N...

19/12/2025

SVG New Sponsor Spotlight: Presidio's Nareev Shah on the Role of Its Captivate and Resonate Platforms in Sports Production

SVG New Sponsor Spotlight: Presidio's Nareev Shah on the Role of Its Captiva...

19/12/2025

US Marine Corps Increases Affordable Mass Demonstrations with Successful Red Wolf Low-Altitude Live Fire

Mounted to the pylon of an AH-1Z Viper helicopter, a Red Wolf vehicle successful...

19/12/2025

Space Development Agency Awards L3Harris $843 Million Contract for Tracking Layer Satellites

L3Harris technology for the SDA Tranche 3 Tracking Layer program will provide in...

19/12/2025

Nielsen and XR Announce Platform Integration to Make it Easier for Brands and Agencies to Deliver Ads Powered by Nielsen Measurement

Partnership brings Nielsen ONE measurement activation directly into XR's adv...

19/12/2025

Motion Impossible Initiates Campaign for SMPTE Robotics Standard

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

Gracenote Unveils New Features for Sports Hubs

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

Berklee Announces Spring 2026 Signature Series

Berklee Announces Spring 2026 Signature Series This season's highlights include the Gospel Extravaganza, the 40th International Folk Festival, special gue...

19/12/2025

Queensland Performing Arts Centre Elevates Live Stream Ex...

Performing arts centres across the globe have doubled down on live production infrastructure in recent years. For venues like the Queensland Performing Arts Cen...

19/12/2025

FCC's Brendan Carr Stands Up for His Policies at Senate Hearing

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

Nexstar Brand Studio Launches with 'My American Story Campaign'

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

Nashville To Host 2026 AES Show

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

NAB Launches Effort to Keep Live Sports on Broadcast Channels

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

FCC Votes to Adopt New Rules for LPTV Stations

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

Hearst Television Ups Mike Kronenfeld to VP, National Sales

Share Share by: Copy link Facebook X Whatsapp Pinterest Flipboard...

19/12/2025

Ricardo Coke-Thomas Named Chair of Theater for Boston Conservatory at Berklee

Ricardo Coke-Thomas Named Chair of Theater for Boston Conservatory at Berklee The distinguished theater educator, director, and performer will join the Conser...

19/12/2025

'Salvador' Arrives to Netflix on February 6

Back to All News Salvador Arrives to Netflix on February 6 Entertainment 19 December 2025 GlobalSpain Link copied to clipboard WHEN THERE IS NOTHING LEFT ...

19/12/2025

Your YearEnd Maintenance Checklist

As the year comes to a close, it's the perfect time to give your WO Automation for Radio system a quick tune up. At the top of your year end checklist is on...

19/12/2025

VEON's Mobilink Microfinance Bank Launches Islamic Banking Operations in Pakistan

19 Dec 2025 VEON's Mobilink Microfinance Bank Launches Islamic Banking Oper...

19/12/2025

Wrapping up a year of connection and clarity!

Wrapping up a year of connection and clarity! 19 Dec Written By Suzanne Costello As 2025 comes to a close, we want to take a moment to thank our incredib...

19/12/2025

Kelly Reilly and Rafe Spall lead Sky Original Under Salt Marsh as the full trailer is unveiled

The six-part drama, set in a close-knit Welsh town fractured by an unspeakable c...

19/12/2025

Rohde & Schwarz drives the future of mobility at CES 2026

Rohde & Schwarz drives the future of mobility at CES 2026 At the 2026 Consumer Electronics Show in Las Vegas, Rohde & Schwarz will present a powerful lineup o...

19/12/2025

Salvador arrives to Netflix on February 6

Back to All News Salvador arrives to Netflix on February 6 Entertainment 19 December 2025 GlobalSpain Link copied to clipboard WHEN THERE IS NOTHING LEFT ...

19/12/2025

Last Samurai Standing' Renewed for Season 2 - A Global Sensation Proudly Made in Japan

Back to All News Last Samurai Standing' Renewed for Season 2 - A Global Se...

19/12/2025

RT is turning up the volume at the 2026 Stripe Young Scientist & Technology Exhibition

RT is proud to return to the RDS to support the 2026 Stripe Young Scientist & T...

19/12/2025

December 18, 2025

Nanoparticle vaccine strategy could protect against Ebola and other deadly filoviruses Scripps Research scientists turn nanoparticles into virus showcases to ...

18/12/2025

SVG Campus Shot Callers: Kurt Sutton, Director of Broadcast Operations, Clemson University

SVG Campus Shot Callers: Kurt Sutton, Director of Broadcast Operations, Clemson ...

18/12/2025

Follow the Money Episode 2: Inside the Sports Media Biz with Sam McCleery and Steve Hellmuth

Follow the Money Episode 2: Inside the Sports Media Biz with Sam McCleery and St...

18/12/2025

SVG Sit-Down: Google Cloud's Anshul Kapoor on the Future of Generative Production' in Live Sports

SVG Sit-Down: Google Cloud's Anshul Kapoor on the Future of Generative Prod...

18/12/2025

The 2025 SVG Summit Draws Record Crowd for 20th-Annual Sports-Production Industry Homecoming in NYC

The 2025 SVG Summit Draws Record Crowd for 20th-Annual Sports-Production Industr...

18/12/2025

SBS's sports schedule sizzles in January with Dakar Rally, Kooyong Classic and Mapei Cadel Evans Great Ocean Road Race

SBS's sports schedule sizzles in January with Dakar Rally, Kooyong Classic a...

18/12/2025

Montreal's Bell Centre elevates fan experience with Argo S

Canada's largest indoor arena has transformed its live production capabilities with a full ST 2110 infrastructure and Calrec's compact Argo S console. S...

18/12/2025

The Gauge: Mexico November 2025

During November, streaming's share of TV viewing in Mexico settled at 24.2%, an increase of 0.5 share points from the previous month. Disclaimer: YUMI TV,...