예제 캔버스에서의 비디오

캔버스에서의 비디오

createVideo()image() 함수를 사용하면 비디오를 캔버스에 업로드할 수 있습니다. 비디오 캡처는 image() 생성자를 통해 전달될 수 있으므로 filter() 메서드를 사용하여 비디오 캡처에 필터를 추가할 수 있습니다. 이 예제를 로컬에서 실행하려면 실행 중인 로컬 서버가 필요합니다. 비디오를 캔버스 내에 내장하지 않고 구축하려면 Video 예제를 확인해 보세요.

Creative Commons BY-NC-SA license badge

캔버스에서의 비디오: 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!