docs: def random(magnitude=1):
          """ Create a unit vector pointing in a random direction. """
          theta = random.uniform(0, 2 * math.pi)
          return magnitude * Vector(math.cos(theta), math.sin(theta))