I have a weird issue where my sketch gets slower and slower the more Control P5 buttons I have. This behavior only shows up in Processing / Android mode, it seems fine when running in Processing / Java on OSX.
If you look at my code you will see I draw a UI with a bunch of buttons… If I comment out that code my sketch returns a value of 10 seconds which is correct for 24fps. If I leave all the buttons in my sketch the time goes up to 22 seconds… If I leave half the buttons in it is somewhere in the middle… I only create the buttons in setup so it seems odd that I am getting such a drastic slow down…
I have a weird issue where my sketch gets slower and slower the more Control P5 buttons I have. This behavior only shows up in Processing / Android mode, it seems fine when running in Processing / Java on OSX.
If you look at my code you will see I draw a UI with a bunch of buttons… If I comment out that code my sketch returns a value of 10 seconds which is correct for 24fps. If I leave all the buttons in my sketch the time goes up to 22 seconds… If I leave half the buttons in it is somewhere in the middle… I only create the buttons in setup so it seems odd that I am getting such a drastic slow down…
Any ideas?
Thanks, Phil