		if(D > 450 || bool) { // decrease diameter

					if(!bool) { // has hit maximum

						bool = 1;

					}

					if(D < 0.1) { // has hit minimum

						bool = 0;

					}

					t -= g; // decrease theta

					D -= 0.1; // decrease size

				}

				if(!bool) {

					t += g; // increase theta

					D += 0.1; // increase size

				}

				q = (R / r - 1) * t; // create hypotrochoid from current mouse position, and setup variables (see: http://en.wikipedia.org/wiki/Hypotrochoid)

				x = (R - r) * C(t) + D * C(q