Hi,
Welcome the community!
Processing is running using Java’s JVM, looks like there’s already Azul OpenJDK builds available for M1 :
-
https://stackoverflow.com/questions/64788005/java-jdk-for-apple-m1-chip
-
https://www.azul.com/downloads/zulu-community/?os=macos&architecture=arm-64-bit&package=jdk
I also link this previous thread : Big Sur and new Macs