Closed hx2A closed 2 years ago
There more constants that I believe are only used internally to Processing. These all deserve a closer look to see if they should really be included in py5:
OTHER WINDOWS MACOS LINUX TIFF TARGA JPEG GIF DEFAULT_WIDTH DEFAULT_HEIGHT EXTERNAL_MOVE EXTERNAL_STOP HINT_COUNT CHATTER COMPLAINT PROBLEM
A few more in Py5Graphics only:
ALPHA_MASK RED_MASK GREEN_MASK BLUE_MASK
So what's going on here is when I first created the data files that py5 uses to determine which of Processing's public variables and methods should be made available in py5, I had to make a lot of decisions quickly about what should be included. While writing the reference documentation I had the opportunity to review all of those decisions about the methods only. The constants don't have documentation so they did not get the same careful review. I went through all of them now and made the necessary fixes to remove constants that should not be there.
They aren't useful and they trip up Thonny users or anyone using imported mode. Nobody can use them as variable names.