code: def per_step_render(path, absolute=False, color=constant_color):
      """Render the icon's edges, given its path."""
      to_canvas_size = lambda l: [float(f) * (64.0 / 24.0) for f in l]
  
      canvas = np.zeros((64, 64, 3))
      curr_pos = (0.0, 0.0)
      for i, cmd in enumerate(path):
          if not cmd:
              continue
          if cmd[0] in "mM":
              curr_pos = _update_pos(
                  curr_pos, to_canvas_size(cmd[-2:]), absolute
              )
          elif cmd[0] in "cC":
              _render_cubic(
                  canvas,
                  curr_pos,
                  to_canvas_size(cmd[1:]),
                  absolute,
                  color(i, 55),
              )
              curr_pos = _update_pos(
                  curr_pos, to_canvas_size(cmd[-2:]), absolute
              )
          elif cmd[0] in "lL":
              _render_line(
                  canvas,
                  curr_pos,
                  to_canvas_size(cmd[1:]),
                  absolute,
                  color(i, 55),
              )
              curr_pos = _update_pos(
                  curr_pos, to_canvas_size(cmd[1:]), absolute
              )
  
      return canvas
  
imports: import io
  import numpy
  from PIL import Image
  from six.moves import zip_longest
  from skimage import draw
  import tensorflow.compat.v1
label_desc: Use image node_id 26 for calling a global function with example usage: per_step_render(path, absolute, color) and returns: canvas