Can I import my P5.js script into Weebly?
p5.js is javascript. According to the documentation, you can add javascript to Weebly – so that would be the place to start, I suspect.
https://dev.weebly.com/pf_apps_element_js.html
https://www.quora.com/Is-it-possible-to-add-custom-JavaScript-to-a-Weebly-page