JavaScript Canvas_advanced Guide
Advanced Canvas 2D: compositing, shadows, clipping, save/restore, pixel manipulation, and animation loops. The guide walks through Canvas Effects. `globalCompositeOperation` — blend modes (source-over, multiply, screen, overlay, etc.). Shadow: `shadowColor`, `shadowBlur`, `shadowOffsetX/Y`. Clipping: `ctx.save(); ctx.beginPath(); ctx.arc(x,y,r,0,2*Math.PI); ctx.clip(); // draw clipped content; ctx.restore()`. Pixel: `getImageData/putImageData` for filters, color replace, threshold. Animation: `requestAnimationFrame(loop)`. The guide is organized into 1 sections that build on each other, each pairing a prose explanation with runnable code. Related guides: Arrays, Strings, Numbers, Math, Date. This is one of 145 JavaScript guides on JS Reference — see the full list on the guides page. Practice what you learn in the JavaScript playground, and look up any unfamiliar term in the JavaScript glossary.