HTML5 Canvas Scratch-off Demo
Draw on the canvas:
What you're seeing:
+
(
⊙
=
)
"+" is drawImage() with
globalCompositeOperation set to 'source-over'
(the default).
"⊙" is drawImage() with
globalCompositeOperation set to
'source-atop'.
View source to see the JavaScript.
I took this lizard photo at the
Arizona-Senora Desert
Museum.
