Adobe Photoshop has a variety of helpful blend modes for compositing images from multiple RGBA layers. This small library provides the same functionality for HTML Canvas Contexts, with the goal of producing the same results as Photoshop. Allows you to do stuff like: // Likely an ‘offscreen’ (not in the DOM) canvas var over = …
Continue reading “Photoshop-style blend modes for HTML Canvas Contexts”