html5-canvas Compositing Default compositing: New shapes are drawn over Existing shapes

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

context.globalCompositeOperation = "source-over"

"source-over" compositing [default], places all new drawings over any existing drawings.

context.globalCompositeOperation='source-over';  // the default
context.drawImage(background,0,0);
context.drawImage(parachuter,0,0);

enter image description here



Got any html5-canvas Question?