How to use static variables in Processing?

If you want to call a function from inside a class without instancing the class you have to make the class static and the function static.

Then you’ll use class.function() to call it.

1 Like