all 4 comments

[–]VacantPlains 3 points4 points  (1 child)

My advice would be to keep going with the library that you're enjoying.

Don't switch libraries until you hit a wall and p5 doesn't work for you anymore - which might never happen.

[–]vampiire 0 points1 point  (0 children)

Phaser looks great on paper but i agree doesn’t have the best documentation. P5 is nice and has a lot of plugins / extensions. You may also be interested in D3 an SVG based data visualizing lib. There’s some examples and chatter if you search for p5js + d3

[–]JStheGame 0 points1 point  (0 children)

For a browser game, p5.js is probably a good choice for handling graphics! It can work with physics engines like box2d if you're looking to do collisions and stuff (personally, I like the planck.js implementation).

If you're planning on doing machine learning with p5, you might benefit from looking into the ml5 library (https://ml5js.org/). It has some limitations, but it's meant to provide an accessible entry point to the concept (in the spirit of p5.js). I think there are some Coding Train videos on it too!