private void drawBackgroundPattern(Graphics2D g, float interpol, Vector offset) {
		Vector position = Vector.scalar(BACKGROUND_DEPTH,Vector.subtract(new Vector(), offset));
		Composite old = g.getComposite();
		
		g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, BACKGROUND_OPACITY));
		// draw vertical lines
		g.setColor(Parameters.BACKGROUND_COLOR);
		for (int mark = BACKGROUND_SPACING - ((int)position.x%BACKGROUND_SPACING); mark < screenDims.width; mark += BACKGROUND_SPACING) {
			g.drawLine(mark, 0, mark, screenDims.height-1);
		}
		
		// draw horizontal lines
		for (int mark = BACKGROUND_SPACING - ((int)position.y%BACKGROUND_SPACING); mark < screenDims.height; mark += BACKGROUND_SPACING) {
			g.drawLine(0, mark, screenDims.width-1, mark);
		}
		
		g.setComposite(old);
	}