I created Pencil.js for this kind of use. I learned p5.js a while ago and became frustrated by the syntaxe. I love OOP and it make a lot of sense in the graphical realm.
Check out the examples.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.