code: def checkerboard(grid_num=8, grid_size=32):
      row_even = grid_num // 2 * [0, 1]
      row_odd = grid_num // 2 * [1, 0]
      Z = np.row_stack(grid_num // 2 * (row_even, row_odd)).astype(
          np.uint8
      )
      return 255 * Z.repeat(grid_size, axis=0).repeat(grid_size, axis=1)
  
file_path: vispy/examples/gloo/textured_quad.py
imports: import numpy
  from vispy import gloo, app
  from vispy.gloo import Program
label_desc: Use image node_id 1 for calling a global function with example usage: checkerboard(grid_num, grid_size) and returns: unknown