Hello, I am new to Canvas, and I would like to know if I program a lesson using p5.js, can I embed it in Canvas, or do I need to use a link to an outside server?
I had never heard of P5.js before, so I had to do some quick Googling. It appears that (at least in 2018), p5.js would create an iframe embed code that should be able to be placed inside Canvas. Again, I have not tested this myself, but hopefully it will get you started on the right path.
Here are some resources that may help.
Retrieving data ...