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
https://p5js.org/examples/arrays-array-objects.html
i just see at the examples…
as at the
https://p5js.org/reference/
“class” is missing.

Thank you I try to understand this.

Thanks, @GoToLoop, and @kll.