ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

sampleImage + Trapcode Particular - If sample area is not a specific color, emit particles

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Shahid Raza
sampleImage + Trapcode Particular - If sample area is not a specific color, emit particles
on Oct 20, 2018 at 7:46:24 pm
Last Edited By Shahid Raza on Oct 20, 2018 at 8:27:31 pm

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!


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]