vue-p5 icon indicating copy to clipboard operation
vue-p5 copied to clipboard

Utilizing third-party libraries?

Open AngelOD opened this issue 5 years ago • 4 comments

There are a fair few extension libraries available for p5.js and I think it would be nice with an example on how to use these with vue-p5.

AngelOD avatar Oct 23 '18 11:10 AngelOD

Indeed it would!
Which ones do you use?

Kinrany avatar Oct 24 '18 13:10 Kinrany

It varies but https://github.com/bitcraftlab/p5.gui and http://p5play.molleindustria.org/ are both libraries I've used in the past. Any library from https://p5js.org/libraries/ is viable, however. :)

AngelOD avatar Oct 24 '18 17:10 AngelOD

Hmm, it seems there are two basic use cases here:

  1. Higher level graphics libraries that draw on p5's canvas
  2. GUI libraries that manipulate DOM

I'm assuming that anyone who wants to use vue-p5 has at least a little bit of experience with Vue. Perhaps a guide to replacing a GUI library with equivalent Vue components would be more appropriate.

Unfortunately I have no experience with any part of p5 other than it's core drawing capabilities. There might be cases where such a replacement isn't possible, I can't tell.

Kinrany avatar Oct 28 '18 14:10 Kinrany

Take a look at https://github.com/uber1337mate/vue-p5-play, he just wrapped the lib in a package but I have no clue how to use it. Any idea?

Lucashw68 avatar Feb 22 '20 11:02 Lucashw68