Description
I'd like to open a thread for general discussion about using ES6 classes in p5.js examples and tutorials. I imagine a full integration of this style of OOP should likely wait until the p5 codebase itself adopts ES6, I'm starting to teach with ES6 classes at ITP and in my video tutorials.
@rasca0027 did a wonderful job porting several of my Learning Processing tutorials to p5js.org, thank you! For my ITP course, I'm working on porting the Learning Processing OOP tutorial using p5.js and ES6 classes for this week's reading.
-
Does this make sense to publish at p5js.org or should I put it on my own site for now in a more "experimental" way?
-
If I'm porting examples to use ES6 classes, at what point should I consider submitting them as pull requests to the p5.js website, etc.?