video = {
const stream = gl.canvas.captureStream(60);
const video = document.createElement('video');
video.autoplay = true;
video.muted = true;
video.playsInline = true;
video.width = width;
video.height = height;
video.srcObject = stream;
video.play();
return video;
}