code: def __init__(
      self,
      name,
      image_data=None,
      signature_colors=None,
      constellation_of_pixels=None,
  ):
      if not isinstance(image_data, np.ndarray):
          raise SpriteError(
              "'image_data' needs to be a 4D instance of ndarray..."
          )
  
      if not len(image_data.shape) == 4:
          raise SpriteError("'image_data' ndarray needs to be 4D...")
  
      self.name = name
      self.image_data = image_data
      self.image_shape = image_data.shape[:2]
  
      self.signature_colors = (
          signature_colors or self._generate_signature_colors()
      )
  
      self.constellation_of_pixels = (
          constellation_of_pixels
          or self._generate_constellation_of_pixels()
      )
  
file_path: SerpentAI/serpent/sprite.py
imports: import numpy
  import random
  import uuid
label_desc: Use image node_id 1 to create a new Sprite object  with example: obj = Sprite(name, image_data, signature_colors, constellation_of_pixels)