I’ve created a program using P3 IDE in P5.js mode. Runs well on my Chrome web server so now I want to share it on the P5js.org web site.
I foolishly assumed I would be able to upload my project like I used to do with Java Processing but no way can I find a way to do that. If I’m missing something blindingly obvious can someone please put me right.
Anyway, I’ve copied each file from my program into the P5js online web editor which seems an incredibly tedious thing to have to do but it runs. I’ve saved it and it’s name seems to be 6Ranl2kyQ . How do I make it visible on OpenProcessing.org ? Again, what am I missing?
Tried another tack. Started ‘Create sketch’ on OpenProcessing.org and copied in my files again. The program that ran on P5js web editor won’t run on OpenProcessing.org. It complains about the first line of code it sees, which is simply:
var population = 200;
It’s saved as Covid Simulator ( 1080703 ) if anyone can find it to see what on earth is going on here.
This is my first venture into P5js and I find it incredibly frustrating. Hope someone can help.