-
sampleImage + Trapcode Particular – If sample area is not a specific color, emit particles
I’m working on a little Particular effect where I want to generate the “Particles/sec” based on a different comp’s animations in the project.
Particular Comp:
– Solid with Trapcode Particular applied. Position of this solid is dynamic (let’s use [50,850] as an example for this).Second Comp:
Multiple shape layers animating vertically from top to bottom of the comp using keyframes.Both comps are 8160 x 850 px
The Idea
The expression will be added to Particular Comp solid’s “Particles/sec” property.
Using the X/Y position of the Particular Comp solid, I’d like to sample the Second Comp at this point with a 3 pixel square.
If this area is not a specific HEX color or not the comp’s background color, I’d like to change the Particles/sec to 1000.
Otherwise the Particle/sec should be set to 0.How can I achieve this? Thanks!
