2 ms·
It would be fun to flip the image so it really looks like a Tiny Mirror. I wonder if this would work? In the initial setup: ctx.scale( -1, 1 ); In the draw
by Stratoscope 8y ago
It would be fun to flip the image so it really looks like a Tiny Mirror. I wonder if this would work?
In the initial setup:
ctx.scale( -1, 1 );
In the drawing loop:
ctx.drawImage( video, 0, 0, canvas.width * -1, canvas.height );
Something like that anyway. We have guests arriving soon, so no time to test right now, but if anyone tries it I will be curious!