Uploaded July 2019 | Updated December 2026, 3 hours ago
Using a CSV to make a data-driven animation
Project File: workbench.tv/tutorials/2019-07-12_CSVgraphs
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
Twitch: twitch.tv/failbench
This week, we're exploring using a CSV file to generate graphs in After Effects. Building a CSV allows for a lot of interesting things, one of which is the ability to use data to drive animation. In our case, a cool side effect of using a CSV is that you can change the data outside of After Effects and it can automatically change your animation.
Data driven animation also makes it really easy to version things. Basically, if you can put something into a spreadsheet, you can use it in After Effects. Graphs and data aren't the only things you can use CSVs for. You can even use them to offer different translations for a script so you can switch your project over to output another language with minimal effort. Perhaps we'll take a look at that exact use case in the future.
If you need any additional information on how to use CSVs in After Effects, check out Sergei's excellent introductory lesson over at Ukramedia—Tip 071: How to Create & Use a CSV File in After Effects (youtube.com/watch?v=WuiZqunCOYw).
And as always, make sure to experiment. The expression code can be found at the project file link above.
#AfterEffects #MotionGraphics #Data
Using a CSV to make a data-driven animation
Project File: workbench.tv/tutorials/2019-07-12_CSVgraphs
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
Twitch: twitch.tv/failbench
This week, we're exploring using a CSV file to generate graphs in After Effects. Building a CSV allows for a lot of interesting things, one of which is the ability to use data to drive animation. In our case, a cool side effect of using a CSV is that you can change the data outside of After Effects and it can automatically change your animation.
Data driven animation also makes it really easy to version things. Basically, if you can put something into a spreadsheet, you can use it in After Effects. Graphs and data aren't the only things you can use CSVs for. You can even use them to offer different translations for a script so you can switch your project over to output another language with minimal effort. Perhaps we'll take a look at that exact use case in the future.
If you need any additional information on how to use CSVs in After Effects, check out Sergei's excellent introductory lesson over at Ukramedia—Tip 071: How to Create & Use a CSV File in After Effects (youtube.com/watch?v=WuiZqunCOYw).
And as always, make sure to experiment. The expression code can be found at the project file link above.
#AfterEffects #MotionGraphics #Data








![Tutorial 87: Angular Controls
How to tie horizontal and vertical controls to angle and distance controls
Workbench: http://workbench.tv/tutorials/2017-09-08_AngularControls
Patreon: http://patreon.com/workbench/
Merch: http://workbench.tv/products/merch/
Paypal: https://www.paypal.me/workbenchtv
Social
***********************************************************
Instagram: http://instagram.com/workbenchtv/
Twitter: https://twitter.com/workbench_tv
Facebook: http://facebook.com/workbenchtv
In Tutorial 85: Integrated Textures (https://www.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 Controls](https://i.ytimg.com/vi/AXgn_xqsNBg/mqdefault.jpg)

