This is an example I made while using canvas and getUserMedia. It currently displays the webcam stream, lets the user take a screenshot and that screen will be separated into RGB "channels" and combined in a displaced manner.
You can check it out here