How to implement 'GalaxyDemo' effect with a sprite?

I have seen one of the wonderful examples in TestCpp, called ‘GalaxyDemo’, and I strongly felt like I want to use that.

Can I get an simple example of using ‘GalaxyDemo’ effect with a sprite? (I just want to use the effect on an automatic moving sprite,
not by user-Touch moving.)

Thx.