Wednesday 26 September 2012

Run-Away Shrinking Circle

Created a piece of coding where a circle not only shrinks when touched by the mouse but also runs away from the curser so you have to chase it across the page making its a lot more interactive and fun. (unfortunately does not look like much through screen shots)

I now need to translate this code to apply to multiple circles (such as my circle grid) and make them all go off in different directions rather than move as one. Also need to add in boundaries so circles have to come back rather than be chased out of the screen and disappear.

No comments:

Post a Comment