Need some guidance to convert processing code to p5.js code

Hi everyone, I’m trying to convert the processing code into the p5.js code but I didn’t understand how to convert the processing class and object into the p5.js code. can anyone please help me?

1 Like

best is a example of a

p5.js

array of class

i just see at the examples…
as at the

“class” is missing.

Thank you I try to understand this.

1 Like

Thanks, @GoToLoop, and @kll.