Can anyone help me with advice on how to produce a Java prog?

These two links explain what I'm trying to achieve:

This one shows an animated series of circles

This one shows one of my drawings

Put simply I want to chop up my drawing into squares and have them swirling around a black background, instead of the circles.

Please be in touch if you can help. Thank you.