Mask Path Wave
Creates a sine-wave distortion along a mask path.
Code
var amp = 50;
var freq = 3;
var p = content("Path 1").path.points();
for(var i=0; i<p.length; i++){
p[i][1] += Math.sin(time * freq + i) * amp;
}
createPath(p);
maskwavedistort
How to Use
Use on a shape path. Lower `amp` for subtle ripples.