Individualize functions in P5.js

Although written for Processing’s Java Mode these 2 OOP articles can be easily applied to any Processing flavor:

  1. From several variables to arrays - Processing 2.x and 3.x Forum
  2. From several arrays to classes - Processing 2.x and 3.x Forum

This is how we create classes in JS btW:

3 Likes