Tutorial 87: Angular Controls @Workbenchtv
Tutorial 87: Angular Controls  @Workbenchtv
Uploaded September 2017 | Updated December 2026, 3 hours ago
How to tie horizontal and vertical controls to angle and distance controls
Workbench: workbench.tv/tutorials/2017-09-08_AngularControls
Patreon: patreon.com/workbench
Merch: workbench.tv/products/merch
Paypal: paypal.me/workbenchtv

Social
***********************************************************
Instagram: instagram.com/workbenchtv
Twitter: twitter.com/workbench_tv
Facebook: facebook.com/workbenchtv

In Tutorial 85: Integrated Textures (youtube.com/watch?v=f_50Cj073ss), we made an interesting shadow out of a displaced layer. I thought it might be useful to change the default controls of Displacement Map from Max Horizontal and Max Vertical Displacement to Angle and Distance sliders. So I built that. And I continued to apply that expression to similar parameters—like position. That allowed me to animate things diagonally as easily as I can move things in X or Y. Because of that, we can put a bunch of things together going in the same direction and animate simple sliders like in our example GIF below.

Horizontal Only:
a = effect("Angle Control")("Angle");
d = effect("Distance")("Slider");
x = Math.cos(degreesToRadians(a));
x*d;

Vertical Only:
a = effect("Angle Control")("Angle");
d = effect("Distance")("Slider");
y = Math.sin(degreesToRadians(a));
y*d;

Both (for position style controls):
a = effect("Angle Control")("Angle");
d = effect("Distance")("Slider");
x = Math.cos(degreesToRadians(a));
y = Math.sin(degreesToRadians(a));
value+[x*d,y*d];
Tutorial 87: Angular ControlsTutorial 112: Modular Text SystemsHow to make procedural circuitry in After Effects - Tutorial 152: Procedural CircuitryCreate a Viral look in Cinema 4DEasily build a toon shaded wave in Cinema 4DTutorial 97: Improved Single Layer Track MattesHow to make an FUI element in Nodebox - Tutorial 169: FUI with NodeboxTutorial 90: EngravingTutorial 54: Easy Looping2017 Intro Build Time LapseTutorial 121: Quick Tips 07QUICKLY lay out STACKED TEXT in After Effects! - Tutorial 211: Price Point
Workbench |

Tutorial 87: Angular Controls

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER