Wednesday, August 8, 2018

Snap! U2L2-CapturingPoints


Circle 1: When the program starts it initializes the variable point list to an empty list and clears the screen. The sprite will follow the mouse until spacebar is pressed. Every time the user clicks, that position will be added to point list.

Circle 2: After the points are taken from point list, the shape the points make will be drawn.

No comments:

Post a Comment