Last updated 4 years ago
Was this helpful?
Full Tutorial:
Code for the scale of the Dots:
var sample = thisComp.layer("MAIN ANIMATION").sampleImage(position, [1, 1]); var sampleHSL = rgbToHsl(sample); var newScale = linear(sampleHSL[2], 0, 1, 0, 100); [newScale, newScale];