The length of a shadow is determined by where the sun appears to be in the sky. If the sun is close to the horizon, a shadow will be long. If the sun is directly overhead, the shadow will be very short.