It is impossible! I tried adjusting your graphic part with mine,
but only one ball move and the square and triangular wave have changed!
I'm sending you my EJS's file, could you look it? Thank you.