How to make this auto-filling text and logo animation? I found this great video on youtube:


                
            

and I just love this text animation at the beginning.
I mean that one which start like black and auto filling itself with white color and the animation also repeats with the logo and with other text but it changes the color to red.

I've tried using stroke effects, but I couldn't figure out how this can be achieved. 

Any Ideas?
Just a proof of concept. Steps to reproduce:


on a new comp, create a shape object filled with black color;
animate some properties, in this case, I'm changing the Inner Radius;
duplicate this shape layer and move it a few frames ahead in the timeline (so it's out of sync with the layer below);
change its color to white and activate the Track Matte pointing to the first layer as Parent;


This is the result (showing all the frames at once):



And this is the base composition: