code: function CanvasNode() {
          this.addInput("clear", LiteGraph.ACTION);
          this.addOutput("", "canvas");
          this.properties = { width: 512, height: 512, autoclear: true };
  
          this.canvas = document.createElement("canvas");
          this.ctx = this.canvas.getContext("2d");
      }
docs: CANVAS stuff