What do you mean by the crash effect? Just two circles bouncing with each other?
You can add two objects, give them x(t),y(t) corrdinate using mathematic equations.
With the build in step function in physlet library, you can show bouncing effect.