A ball bouncing inside the window