Creating a grid of toggle buttons

I’m not sure, bit it might be possible to manage generation of this with the p5.gui library. Haven’t tried with toggle buttons, they might not be supported “in bulk” in the way that you want, although it could potentially be modified.

1 Like