Animation with 3 different sketches combined using Switch with keyboard input

Yes, the simple code, your stripped down , or my small example work, keyboard input and it changes and calls the other draw() functions, but not in my main program with the P3D and the other graphics instructions, I feel, even if I still cannot find the problem that it is related to the loading of the other functions? maybe I am reaching a memory max or something because I am working in 3D? Also I think it may be that one of them goes on indefinitely and the problem is waiting for it to end, but I thought that the break; was there for that reason…

1 Like