Using the copy() method, you can simulate coloring an image in by copying an image of the colored image on top of the black-and-white image wherever the cursor is dragged.
No alt text
Words
Load fonts and draw text.
Copy Image Data
Paint from an image file onto the canvas.
Alpha Mask
Use one image to cut out a section of another image.
Image Transparency
Make an image translucent on the canvas.
Audio Player
Create a player for an audio file.
Video Player
Create a player for a video file.
Video on Canvas
Display and stylize a video on the canvas.
Video Capture
Display a live video feed from a camera.
Looking for the old p5.js site? Find it here!