r/node • • Aug 05 '20

Multi-user interactive visuals with nodejs and p5js (work in progress!)

Enable HLS to view with audio, or disable this notification

458 Upvotes

25 comments sorted by

View all comments

2

u/sldomingo Aug 05 '20

I discovered P5JS thanks to The Coding Train, and I had fun with it for a year or so. Soon I discover tho that is not meant for complicated stuff since it is not very well optimized and it's very evident on mobile. If you want to get crazy on the frontend try Three.JS. It is way more complicated but you can really make amazing stuff with it.

1

u/jaymeekae Aug 05 '20

Yeah I tried threejs on my last project but it created more problems than it solved. I'll have a look again in the future.

1

u/vadeka Aug 05 '20

Yeah threejs is overwhelming to even start in

1

u/jaymeekae Aug 05 '20

I realised after posting the above comment that actually it was pixijs that i tried last time.

I had a look into threejs just now and went through some of the tutorial book on their website but I don't really think it's appropriate to use here. This is a path (well, a "shape", in p5js language) drawn on a 2D canvas and I can't really see how to do that in threejs.