code: def get_point_of_rotated_vertical(origin, line_length, degrees):
      """Return xy coordinates of the vertical line end rotated by degrees."""
      rad = np.deg2rad(-degrees)
      return [
          origin[0] + line_length * np.sin(rad),
          origin[1] + line_length * np.cos(rad),
      ]
  
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.patches import FancyArrowPatch
label_desc: Use image node_id 1 for calling a global function with example usage: get_point_of_rotated_vertical(origin, line_length, degrees) and returns: list