Canvas to Blob is a polyfill for the standard JavaScript canvas.toBlob method. It can be used to create Blob objects from an HTML canvas element. The JavaScript Canvas to Blob function has zero ...
A gradient is generated with a color array evenly distributed across the draw coordinates. A gradient type can be provided to change between drawing linear, conic, and radial gradients. The script is ...