here is what the program should look like (look at the menu decoration): my project still work in progress
and here is the webpage (look at the menu): webpage test
Short answer: you can't.
Khan Academy uses a modified version of Processing.js in which the angles are specified in degrees. The "real" Processing.js doesn't even have an angle mode setting.
You have to use the
degrees() functions to translate between them. If this is really slowing down your program (and I doubt that it is), then you should consider refactoring or just storing your angles in radians so you don't have to do any translations at all.