Serhii Romashkin's profile

Procedural AE - Explorations

/explorations based on struttura tutorial
/personal project. practicing procedural animations in after effects
animation
frames
inside after effects
example mgrph_test_02
------
Basically, it's a particle system without any plugins. We need a map comp and a particle comp(which is in my case it's a textures comp). Map comp will be controlling our animation (you need black and white colors and always use a background layer). Next, we need a grid from our particles. I used an utility box script by voxyde for particles cloning and arrangement. I did a 1000x1000 comp for map and grid from particles comps and particle comp is 50x50. Quick math 1000x50 = 20 rows with 20 particles = 400 particles we need to fill this composition. Next, paste expression (see below) to time remap effect on particles, create a controlling layer with 2 sliders (in my case it's "controls" layer with "radius" and "anim_l" sliders), link references in expression to sliders. That's all.

Workbench, also have cool tutorial about that technique. 

code
targetLayer = thisComp.layer("maps");
samplePoint = transform.position;
RAD = thisComp.layer("controls").effect("Radius")("Slider");
sampleRadius = [RAD,RAD];

sampledColor = targetLayer.sampleImage(samplePoint, sampleRadius)[0];

frame = linear(sampledColor, 0, 1, 0, thisComp.layer("controls").effect("Anim_l")("Slider"));
framesToTime(frame, fps = 1.0 / thisComp.frameDuration)
Procedural AE - Explorations
Published:

Owner

Procedural AE - Explorations

Procedural AE - Explorations

Published: