Fall2007.CSCI220Homework3 History

Show minor edits - Show changes to markup

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), negatedx. 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.