screenX screenY equivalent in p5.js

I’ve seen that there are many others with the same problem. So I’ve decided to build a small library that adds this functionality to p5js.

You’ll find the library here:

And an example of how it’s used here:
https://editor.p5js.org/bohnacker/sketches/nUk3bVW7b

3 Likes