A blank screen while using processing on Big Sur happens on older machines as well, not just M1. For myself it affected P3D programs.
A user on the Github site has indicated that including frameRate will let the screen display normally. I have tested this with several P3D examples myself.