Processing has the ability to choose UV coords for vertex Pshapes.
vertex(x, y, u, v)
How can this work with p5js? Is this possible?
Right now vertex() doesn't support u,v's but this is a good feature request, especially for the webgl renderer. I'm doing some work on beginShape and endShape now, so this should fit nicely into that upcoming PR. Use case would look like the example here: https://processing.org/reference/vertex_.html
We'd also need to implement a textureMode() function for mapping u,v's.
This feature would be so great.
Does anyone have any updates on the matter?
big +1 for this
+1 Need this feature in p5.js for a project.
Maybe this can get into WebGL summer of code for 2017 ?
added in #2166!