def construct(self):
    car = Car()
    start_point = (5 * LEFT)
    car.move_to(start_point)
    self.add(car)
    self.wait()
    for shift in (2, 6, 12):
        car.randy.rotate_in_place((np.pi / 8))
        anim = MoveCar(car, (start_point + (shift * RIGHT)), rate_func=linear)
        anim.target_mobject[0].rotate_in_place(((- np.pi) / 8))
        self.play(anim)
    self.wait()
def construct(self):
    car = Car()
    start_point = (5 * LEFT)
    car.move_to(start_point)
    self.add(car)
    self.wait()
    for shift in (2, 6, 12):
        car.randy.rotate_in_place((np.pi / 8))
        anim = MoveCar(car, (start_point + (shift * RIGHT)), rate_func=linear)
        anim.target_mobject[0].rotate_in_place(((- np.pi) / 8))
        self.play(anim)
    self.wait()