In bounce.c in Problem set 3, why is pause(10) used to slow down the circle when circle's velocity could be defined to a smaller value in the first place?

I tried velocity = 0.005 and it seems to be working fine.

1 Answer 1


Please see this related answer.

If you tried your "no pause, low velocity" approach, you'd eventually hit that problem (as I did;)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .