🔰compositing
rendering mode
browser ⟩ canvas ⟩ state ⟩ compositing
the process of combining new (source) pixels with existing (destination) pixels.
.globalAlpha (default = 1, opaque)
.globalCompositeOperation (default = "source-over")
💾 replit: canvas compositing
shadows - only drawn for source-over compositing operations.
Last updated
Was this helpful?