@Override
	public void paint(Graphics g) {
		Graphics2D g2d = (Graphics2D) g;

		double div = 4.0 * vehicules.length;
		for (int i = 0; i < vehicules.length; i = i + 1) {
			Voiture voiture = vehicules[i];
			if (voiture != null) {
				g2d.transform(new AffineTransform());
				AffineTransform tx = new AffineTransform();
				double theta = (3 - id) * Math.PI / 2.0 - 2.0 * (i + percent) / div
						* Math.PI;

				tx.translate(420, 270);
				tx.rotate(-Math.PI / 2.0, 30, 30);
				tx.rotate(theta, 30, -120);
				g2d.drawImage(voiture.getPicture(), tx, this);
			}
		}
	}