
After Effects Tutorial: Make a Realistic, Elastic Spider Web - 360
23 Video Views·Dec 20, 2024
Learn how to create a realistic Spider-Man web-slinging effect in After Effects! This tutorial covers everything from creating the web shape to adding movement and elasticity. Perfect for beginners and experienced users alike.
Code:
//Change this 3 values to change the effect
freq = 5;
decay = 7;
mult = 0.05;
if (numKeys > 1 && time > key(2).time){
t = time - key(2).time;
a = velocityAtTime(key(2).time-.01)[0];
d = a*mult*Math.sin(t*freq*Math.PI*2)/Math.exp(t*decay);
value + [d,d]
}else{
value
}
