Speed of rotation responds to distance between mouse and square. Click and hold to reverse the square shrinking or growing.
Used a custom function (with help from http://processing.org/learning/basics/variablescope.html) to create the second square, which works as a sort of target to keep the white square within.
No comments:
Post a Comment