This is the code. I need help making the animation faster.
write the code to make a ball bounce back and forth between to walls. The ball bounces in the form of cos2