private void renderLevelBlend(final Graphics g) {

			switch (renderlevel % 6) {
			case 0:
				// 1 rect, left-up to right-down
				rect.x = 0;
				rect.y = 0;
				rect.width = (MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH / MAX_LEVEL_BLEND;
				rect.height = (MAX_LEVEL_BLEND - levelBlendTimeleft) * HEIGHT / MAX_LEVEL_BLEND;
				break;
			case 3:
				// 1 rect, centered
				int time = (MAX_LEVEL_BLEND / 2 - Math.abs(MAX_LEVEL_BLEND / 2 - levelBlendTimeleft))
						* (2000 / MAX_LEVEL_BLEND);
				rect.x = WIDTH_2 - time / 2;
				rect.y = (int) (HEIGHT_2 - (time / 3.3334));
				rect.width = time;
				rect.height = (int) (time / 1.666666667);
				break;
			case 2:
				// 1 rect, left to right
				rect.x = 0;
				rect.y = 0;
				rect.width = (MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH / MAX_LEVEL_BLEND;
				rect.height = HEIGHT;
				break;
			case 4:
				// 2 Rect, Middle to side
				rect.x = WIDTH_2;
				rect.y = 0;
				rect.width = (MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH_2 / MAX_LEVEL_BLEND;
				rect.height = HEIGHT;

				rect2.x = WIDTH_2;
				rect2.y = 0;
				rect2.width = -(MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH_2 / MAX_LEVEL_BLEND;
				rect2.height = HEIGHT;
				break;
			case 5:
				// 2 Rect, side from different sides
				rect.x = 0;
				rect.y = 0;
				rect.width = (MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH / MAX_LEVEL_BLEND;
				rect.height = HEIGHT_2;

				rect2.x = WIDTH;
				rect2.y = HEIGHT_2;
				rect2.width = -(MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH / MAX_LEVEL_BLEND;
				rect2.height = HEIGHT_2;
				break;
			case 1:
				// 2 Rect, side to middle
				rect.x = 0;
				rect.y = 0;
				rect.width = (MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH_2 / MAX_LEVEL_BLEND;
				rect.height = HEIGHT;

				rect2.x = WIDTH;
				rect2.y = 0;
				rect2.width = -(MAX_LEVEL_BLEND - levelBlendTimeleft) * WIDTH_2 / MAX_LEVEL_BLEND;
				rect2.height = HEIGHT;
				break;
			}

			// System.out.println(rect2.width);
			g.setColor(Color.black);
			g.fillRect(rect.x, rect.y, rect.width, rect.height);
			g.setColor(Color.black);
			g.fillRect(rect2.x, rect2.y, rect2.width, rect2.height);
		}