Using the createElement(), createInput(), and createButton() functions, you can take a string of text submitted via text input and display it on your canvas.
Input and Button by p5.js Contributors and the Processing Foundation is licensed under CC BY-NC-SA 4.0.