animating outlines of an object?

How would you guys suggest to animate the outlines of my object?
By animating outlines I mean an outline that is not completely visible all the time and “moves” on the model and/or there’s a bright spot moving on the outline.

Here are some examples, it seems to be very popular with video mapping.



1234.blend (525 KB) only works with blender 2.74 testbuild

just move the empty in rendered viewport.

just a hint you can try much more complex node setup.

12345.blend (527 KB) another simple shader

Doesn’t look so good, sorry… (outlines not bright/dark enough and blurry)