Compund Path Invert Effect
Heyo so I've been playing around with Op Art stuff and I accidentally stumbled upon this cool effect that comes from creating a compound path with a background that's an op-art like radial pattern and a shape on top of it. The effect causes the shape on top to invert the colors of the background radial pattern creating a trippy effect. Also I should note that it seems the top shape needs to have no fill and be a shape that has had a pathfinder minus front applied to it. So I was wondering if anyone can help explain to me what's going on here? Why does the compound path cause the form on top to invert the form below it? Also It'd be awesome if I could animate the top shape to move around in AE so if anyone has knowledge on how to this that'd b awesome! Heres two examples of the effect:

