Brightness Mirror
This video looks at how to create an abstract mirror in a p5.js canvas based on the brightness values of the pixels from live video.
p5 reference entry on the loadPixels() function
p5 reference entry on the updatePixels() function
This video covers the map() function in p5.js -- how to take a value from a given range and map it to a new range.
- Editing
by Mathieu Blanchette