I can use texture() successfully with plane() but I can’t seem to figure out how to use it with vertex(). Does p5.js support using texture() with a shape built using vertex() calls like this:
but with a generative texture featuring white words.
Note: I may be wrong, but I got the impression that in editor.p5js.org the UV coordinates are not normalized, but in openProcessing they are… Maybe this changed at some point and they run different versions of p5js?
OpenProcessing currently runs p5.js 0.73 – it is in the toolbar. Is there any way of checking what version editor.p5js.org currently? If not, maybe that should be a feature…
If both are using p5.js 0.7.3 why the example with the red stripes above uses uv coordinates with values between 0 and 200 (matching the image size) but Textured Wiggly uses normalized values between 0 and 1 (lines 70 and 71), and both work fine?