Examples Alpha Mask

Alpha Mask

Using the mask() method, you can create a mask for an image to specify the transparency in different parts of the image. To run this example locally, you will need two image files and a running local server.

Contributors: Malay Vasa, Lauren McCarthy, Animesh Sinha, Katie, Acha, Caleb Foss, Kathryn Lichlyter, Stalgia Grigg

Modified from Alpha Mask.

Originally ported from the Processing example Alpha Mask.

Alpha Mask is licensed under CC BY-NC-SA 4.0.