float degreesOfRotation = 0;
degreesOfRotation = map(sin(counter), 1, -1, -3, 3);
rotate( radians(degreesOfRotation) );
ellipse(0, 0, degreesOfRotation, degreesOfRotation);
quad(x,90,x+60,105,x+60,y,x,y);
quad(x+60,0,x+60+85,30,x+60+85,y,x+60,y);
quad(x+60+85,90,x+60+85+45,110,x+60+85+45,y,x+60+85,y);
quad(x+60+85+45+15,20,x+60+85+45+70,40,x+60+85+45+70,y,x+60+85+45+25,y);
quad(x+60+85+45,40,x+60+85+45+35,60,x+60+85+45+35,y,x+60+85+45,y);
quad(x+60+85+45+35+60,90,x+60+85+45+35+110,120,x+60+85+45+35+110,y,x+60+85+45+35+60,y);
quad(x+60+85+45+35+30,100,x+60+85+45+35+75,120,x+60+85+45+35+75,y,x+60+85+45+35+30,y);
quad(x+60+85+45+35+30+75,140,x+60+85+45+35+75+60,160,x+60+85+45+35+75+60,y,x+60+85+45+35+30+75,y);
quad(x+60+85+45+35+75+60+40+20,130,x+60+85+45+35+30+75+135,100,x+60+85+45+35+30+75+135,y,x+60+85+45+35+75+60+40+20,y);
quad(x+60+85+45+35+75+60+40+60+25,80,x+60+85+45+35+30+75+100+30+40+45,65,x+60+85+45+35+30+75+100+30+40+45,y,x+60+85+45+35+75+60+40+60+25,y);
quad(x+60+85+45+35+75+60+40+60+25+70,75,x+60+85+45+35+30+75+100+30+40+45+55,55,x+60+85+45+35+30+75+100+30+40+45+55,y,x+60+85+45+35+75+60+40+60+25+70,y);
quad(x+60+85+45+35+75+60+40+60+25+120,45,x+60+85+45+35+30+75+100+30+40+45+115,30,x+60+85+45+35+30+75+100+30+40+45+115,y,x+60+85+45+35+75+60+40+60+25+120,y);
quad(x+60+85+45+35+75+60+40+60+25+120+80,0,x+60+85+45+35+30+75+100+30+40+45+240,0,x+60+85+45+35+30+75+100+30+40+45+240,y,x+60+85+45+35+75+60+40+60+25+120+80,y);
quad(x+60+85+45+35+75+60+40,160,x+60+85+45+35+30+75+100,140,x+60+85+45+35+30+75+100,y,x+60+85+45+35+75+60+40,y);
quad(x+60+85+45+35+75+60+40+60,120,x+60+85+45+35+30+75+100+30+40,100,x+60+85+45+35+30+75+100+30+40,y,x+60+85+45+35+75+60+40+60,y);
quad(x+60+85+45+35+75+60+40+60+70,100,x+60+85+45+35+30+75+100+30+40+60,80,x+60+85+45+35+30+75+100+30+40+60,y,x+60+85+45+35+75+60+40+60+70,y);
quad(x+60+85+45+35+75+60+40+60+70+100,65,x+60+85+45+35+30+75+100+30+40+60+140,35,x+60+85+45+35+30+75+100+30+40+60+140,y,x+60+85+45+35+75+60+40+60+70+100,y);
quad(x+60+85+45+35+75+60+40+60+70+100+120,15,x+60+85+45+35+30+75+100+30+40+60+140+160,0,x+60+85+45+35+30+75+100+30+40+60+140+160,y,x+60+85+45+35+75+60+40+60+70+100+120,y);
quad(520,200,480,200,80,y,920,y);
for(int i=10; i<height; i+=70){
float offsetX = map(carY,height,180,-180,0);
float scaleValue = map(carY,180,height,.1,1);
rect(0, 0, 440, 380, 20);
ellipse(90, 400, 150, 150);
ellipse(340, 400, 150, 150);
float offsetX2 = map(carY2,height,180,-180,0);
float scaleValue2 = map(carY2,180,height,.1,1);
rect(0, 0, 440, 380, 20);
ellipse(90, 400, 150, 150);
ellipse(340, 400, 150, 150);
degreesOfRotation = map(sin(counter1), 1, -1, -10, 10);
ellipse(x+60+85+45,40, degreesOfRotation, degreesOfRotation);
degreesOfRotation = map(sin(counter2), 1, -1, -10, 10);
ellipse(x+60+85+45+35+75+60+40+60+25+120,45, degreesOfRotation, degreesOfRotation);
degreesOfRotation = map(sin(counter3), 1, -1, -10, 10);
ellipse(x+60+85+45+35+75+60+40+60+70,100, degreesOfRotation, degreesOfRotation);
degreesOfRotation = map(sin(counter4), 1, -1, -10, 10);
ellipse(x+60+85+45+15,20, degreesOfRotation, degreesOfRotation);
degreesOfRotation = map(sin(counter5), 1, -1, -10, 10);
ellipse(x+60+85+45+35+60,90, degreesOfRotation, degreesOfRotation);
degreesOfRotation = map(sin(counter5), 1, -1, -10, 10);
ellipse(x+60,105, degreesOfRotation, degreesOfRotation);