code: function onload() {
      // Create pattern
      pattern = context.createPattern(img, repeat);
      self.setSilent('pattern', pattern); // be a cache
      self.setSilent('patternSource', color);
    }
docs: Function to be called when pattern loads