code: def from_polar(degrees, magnitude):
          
          vec = Vector2()
          vec.X = math.cos(math.radians(degrees)) * magnitude
  
          # Negate because y in screen coordinates points down, oppisite from what is
          # expected in traditional mathematics.
          vec.Y = -math.sin(math.radians(degrees)) * magnitude
          return vec
docs: Convert polar coordinates to Carteasian Coordinates