Fall2007.CSCI220Homework3 History

Hide minor edits - Show changes to output

Changed lines 29-30 from:
Initialize ''dx'' and ''dy'' to random values (between -1 and 1). When the x-value of the center of the circle gets too large (it hits the edge), negate''dx''. When it gets too small, negate it again. Use a similar approach for ''dy''.
to:
Initialize ''dx'' and ''dy'' to random values (between -1 and 1). When the x-value of the center of the circle gets too large (it hits the edge), negate ''dx''. When it gets too small, negate it again. Use a similar approach for ''dy''.