Currently the sketch loops through the draw() function. This means the sketch is looping even when the pattern is static. This leads to a lot of unnecessary computer resources being used.
I think this can be refactored so that the pattern is drawn through the draw() function once, and then when the pattern menu or pattern input is changed trigger a redraw().
Currently the sketch loops through the draw() function. This means the sketch is looping even when the pattern is static. This leads to a lot of unnecessary computer resources being used.
I think this can be refactored so that the pattern is drawn through the draw() function once, and then when the pattern menu or pattern input is changed trigger a redraw().