Hi Qin -

The program is called "processing" (or proce55ing) and can be found at http://processing.org

There is a section at that web site that provides 100's of small sample programs (and if I recall, most are bundled with the software installation, itself) that you can play with and modify.

-Rob A>