Overview
This is a p5.js sketch that is part of a series that I call “scales”. Borrowing from the idea of learning and practicing piano scales, these are intended as a set of sketches to get first hand experience with the options and modes that p5.js offers in its drawing library.
What is exercised in this sketch is the p5.js blendMode() function which controls how p5.js layers multiple layers of pixels.
Controls
- Slider for controlling the background color
References
- p5.js blendMode() - Reference docs for how the function works.