Image Gradient Example

<canvas> elements named canvasInput and canvasOutput have been prepared.
Click Try it button to see the result. You can choose another image.
You can change the code in the <textarea> to investigate more.

canvasInput
canvasOutput