for the car, it's just rotating at a fixed rate. Then in random intervals it just swaps the direction that it's driving in.