https://lab.amcc.io/bad-mirror/
Play with Bad Mirror above. It uses ml5js to run PoseNet with camera data, then shapes are then placed on the canvas to act as a mirror, a bad one.
Have a play with the code here:
https://github.com/amcc/bad-mirror
use the p5 editor here: