Project: https://isolation.glitch.me/
Code (face-api.js is used to detect faces): https://glitch.com/~isolation
If you want to see how it works: public/script.js 156 line
Design: https://www.figma.com/file/X9Y2jHPNFM9E4o1vefu4T0/AI-experiments-by-me-isolation?node-id=0%3A1