I’m using p5.js and created a program not using canvas(). Here’s my code:
function setup() {
asciiDiv = createDiv();
noCanvas();
video = createCapture(VIDEO);
video.size(64, 48);
}
how do I increase/stretch the size of the video to full screen without hurting the aspect ratio?
function setup() {
asciiDiv = createDiv();
noCanvas();
video = createCapture(VIDEO);
video.size(64, 48);
}