hi to all. i am doing a program for like group of every 2dots

hi to all. i am doing a program for like group of every 2dots spacing in between 4 black dots chasing each other in a solid color. Please somebody help me out.

Here’s three programs which might give you some ideas on how to achieve the pattern you want.

thank you marc. i will try to use your suggested programs and yesterday i have done 2 group of dots moving and 3 dots moving by using the single dot moving program. I will paste my program.

When sharing code please use http://gist.github.com and then share the link to your code here. Much easier to read the code that way.