Music driven particle animation in After Effects @ShiveringCactus
Music driven particle animation in After Effects  @ShiveringCactus
Uploaded November 2022 | Updated November 2026, 6 hours ago
No plugins needed for this tutorial.

Join me for a fun experiment where I talk you through linking CC Particle World to a 3D Null and using music to drive the animation.

After Effects included 'Convert Audio to Keyframes' tool creates keyframes based on audio volume. You can use it to drive all sorts of animation. In this case I use a set of simple expressions to control the birth rate and velocity of the particles.

#AfterEffects #tutorial #particles @AdobeVideo @laurenduski

Project download: dropbox.com/s/g6jq62bd74ed3me/Particles%20Dance.zip?dl=1

Watch the sequence in Google Cardboard / 360 / VR : youtu.be/WzyMVXs850Y

------------------------------------------------------------------------------------------
Expressions for CC Particle World:

Expressions:
Position X:
x=thisComp.layer("Null 1").transform.position[0]-thisComp.width/2;
x/thisComp.width;

Position Y:
y=thisComp.layer("Null 1").transform.position[1]-thisComp.height/2;
y/thisComp.width;

Position Z:
z=thisComp.layer("Null 1").transform.position[2];
z/thisComp.width;


Dan Ebbert's expression for Max Audio volume (replace LESS_THAN with the less than symbol):

audioProp = thisComp.layer("Audio Amplitude");
p = audioProp.effect("Both Channels")("Slider");
max = p.value;
for (i = 1; i LESS_THAN = p.numKeys; i++){
max = Math.max(max,p.key(i).value);
}
max



--------------------------------------------------------------------------------------

Chapters:
0:00 What we're making
1:00 Creating keyframes from audio
4:20 Dan Ebberts' clever code
8:39 World's greatest camera operator

--------------------------------------------------------------------------------------
Get ShiveringCactus VFX as phone cases, T-shirts, mugs: redbubble.com/people/ShiveringCactus/shop

Or buy me a coffee: ko-fi.com/shiveringcactus

I'm an Adobe Community Expert - which means you can find me on the Adobe forums if you need any help. community.adobe.com/t5/after-effects/ct-p/ct-after-effects?page=1&sort=latest_replies&lang=all&tabid=all

#AdobeCommunityExperts
Music driven particle animation in After EffectsDestroying Earth with a Black Hole (Mega Tutorial)Radar display recreated in After Effects #shortsVFX History: Optical PrintersEvery way to export transparent videos from After EffectsCreating a Gas Giant / Neptune in After EffectsHow to fix common After Effects crashesStep by step guide to using 3D Models in After EffectsCinematic Space Shots in After Effects | Bloom, Shake & Lens TricksDS9 Bajoran Wormhole in After EffectsDeleted videoDeleted video
ShiveringCactus: VFX |

Music driven particle animation in After Effects

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER