Question on painting with color or motion tracker

I am wondering what I can use to have the image that appears over the motion or color that it is tracking to copy and paste itself(like you are drawing)?

And is there a way to have the motion tracker detect the speed of motion…lets say the slower you move the bigger the paintbrush and the faster you move the smaller the paint brush is?

Any help would be great!