News for hackers. Stuff that matters.
Re:Webcam in a Favicon by Stratoscope on Sunday April 21, 2019 @01:29PM (#19713279)
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!

There are no comments on this comment yet.