Running in Browser

Hi guys

I have some code running in p5.js fine. I thought all I needed to do was export and be able to open the index.html file with a browser to run on my desktop however I am getting just a loading message.

Any ideas?



If you load your sketch in the p5.js web-editor you can use the file tab and choose share, which will give you various options like “present”; the direct link to your sketch.
Then you can also embed the sketch as an iframe in sites like f.e. Google’s Blogger etc.

Thanks will give that a try