I’m trying to use the textWrap function but I got an error: “Uncaught (in promise) ReferenceError: textwrap is not defined”.
I suspect that the problem is maybe in the p5.min.js library, is that make sense? how can I check that?
here is the part with the libraries in my HTML:
<head> <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script> <meta charset="utf-8" /> </head>