public void forward(double distance) {
		if (penDown) {
			double x = getX();
			double y = getY();
			synchronized (path) {
				path.add(new SetLocationElement(x, y));
				path.add(new DrawLineElement(distance * GMath.cosDegrees(direction),
				                                    -distance * GMath.sinDegrees(direction)));
			}
		}
		movePolar(distance, direction);
		animator.delay();
	}