			context.stroke();
				context.fill();
			context.restore();

			// let's flash the screen with the complement of that colour if the mouse button is down
			if(mouseDown){
				document.body.style.backgroundColor = 'rgba(' + (511 - this.colour.R >> 1) + ', ' + (511 - this.colour.G >> 1) + ', ' + (511 - this.colour.B >> 1) + ', 1)';
			}else{
				document.body.style.backgroundColor = '#FFFFFF';
			}
		};

		shapeClass.prototype.scale = function(ratio){
			var n;
			for(n = 0; n < this.numpoints; n++){
				t