How do I call a method and return an element in p5.

Is there a way to use just individual elements instead of having p5 control the entire dom? I'm using a library that already structures my dom and I wanted to be able to call a method and return an element without rendering it directly to the dom. Thanks

Answers

  • You can create an element in your body and access it using select() or selectAll()?

    You can create an element in p5.js and then hide it (?)

    What is the role of p5.js when interacting with these elements?

    Kf

Sign In or Register to comment.