In today’s lesson, I learned how to pipe webcam input and manipulate the stream on the fly. In comparison to the other lessons, this lesson required the use of npm. The final code can be found on Day 19 – Webcam Fun.
Resources:
- Array
.prototype .for Each() - Canvas
Rendering Context2D.draw Image() - Canvas
Rendering Context2D.get Image Data() - Canvas
Rendering Context2D.put Image Data() - Document
.create Element() - Document
.query Selector() - Document
.query SelectorAll() - Element
.inner HTML - Element
.set Attribute() - Event
Target .add Event Listener() - HTMLCanvas
Element .toDataURL() - HTMLVideo
Element - Media
Devices .get User Media() - Node
.insert Before()