I’m using p5.js and I’m looking for a way to auto adjust the device brightness. I tried different ways without any positive results. For example I thought to calculate an averag