You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most functions seem to work - but not createCapure:
See:
export function setup() {
createCanvas(windowWidth, windowHeight)
background(52)
stroke(255);
//capture = createCapture(VIDEO); //createCapture is not defined
}
var y = 100;
export function draw() {
background(52)
background(0); // Set the background to black
y = y - 1;
if (y < 0) {
y = height;
}
line(0, y, width, y);
}
There is a note in the definition file that say:
* Security note: A new browser security
* specification requires that getUserMedia, which is
* behind createCapture(), only works when you're
* running the code locally, or on HTTPS. Learn more
* here and here.
However , I am running it locally - so it should be fine.
The text was updated successfully, but these errors were encountered:
Most functions seem to work - but not createCapure:
See:
There is a note in the definition file that say:
However , I am running it locally - so it should be fine.
The text was updated successfully, but these errors were encountered: