Examples Video Capture

Video Capture

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: Revised by Kasey Lichtlyter. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!