Using the createCapture() and image() functions, you can take a device’s video capture and draw it in the canvas. Since the video capture is passed through the image() constructor, you can add filters to the video capture with the filter() method. For different strategies for uploading, presenting, or styling videos, visit the Video and Video Canvas examples.
Video Capture by p5.js Contributors and the Processing Foundation is licensed under CC BY-NC-SA 4.0.