code: def create_colormap2d_hsv(size=512):
      import matplotlib.colors
      import math
  
      u, v = np.meshgrid(
          np.linspace(-1, 1, size), np.linspace(-1, 1, size)
      )
      hsv = np.ones((size, size, 3), dtype=np.float32)
      hsv[:, :, 0] = np.arctan2(u, v) / (2 * math.pi) + 0.5
      hsv[:, :, 1] = np.minimum(1.0, np.sqrt(u**2 + v**2))
      rgb = matplotlib.colors.hsv_to_rgb(hsv)
      return rgb
  
file_path: vispy/examples/demo/gloo/unstructured_2d.py
imports: import sys
  import numpy
  import scipy.spatial
  from vispy import gloo, app
  from vispy.util.transforms import ortho
label_desc: Use image node_id 1 for calling a global function with example usage: create_colormap2d_hsv(size) and returns: rgb