html5-canvas Compositing Draw behind existing shapes with "destination-over"


Example

context.globalCompositeOperation = "destination-over"

"destination-over" compositing places new drawing under existing drawings.

context.drawImage(rainy,0,0);
context.globalCompositeOperation='destination-over';  // sunny UNDER rainy
context.drawImage(sunny,0,0);

enter image description here