This is simply not possible. You can’t call an instance method from a static context - what instance would you be calling the method on?! Unless you pass in the PApplet as an argument. Why do you want this to be static anyway?
This is simply not possible. You can’t call an instance method from a static context - what instance would you be calling the method on?! Unless you pass in the PApplet as an argument. Why do you want this to be static anyway?