Help with 3d object transfiguration/distortion effect

Thanks for your reply,

meanwhile, i think we found another hack, so, I found out that if you press play and then stop, and then play again the vertices always are shown in a random location, so I wondered if there was a way for the code to loop itself, if that makes sense.

The way the hacks works is calling the setup again, the problem is, reading the reference of the setup in p5js.org it tells us there can only be a setup () function for each program and it shouldn’t be called again after its initial execution.

This raised a question in our group project, why cant we call another setup function?
We couldnt found any answer in the web, it only told us we couldn’t call it again

Here’s a link for the project with the hack:
https://editor.p5js.org/miguelbarros999/sketches/46bSwS6pc