Not sure what went wrong
Closed this issue · 4 comments
I am not sure what the problem was and it may be my fault but I was just trying to open the canvas with a setup and draw function and than with nothing at all and
I got this along with a message stating "An error occurred..." where the canvas should be. Thank you and I apologize if I set it up incorrectly.
Hej, you did everything right. I already work on the new API but haven't had the time to release ist. Usually, when this error appears, it helps to close the p5canvas and re-open it.
I will try to ship the new version this weekend.
Hej @jakearmendariz, I have just published a first version, will need some clean up, but would be happy if you could provide some feedback if everything works as expected.
Hej @skycwy223, it should work. Can you create an extra issue and provide me with the example code? One thing I already see is that you want to use your own setup function, p5canvas creates a canvas for you, so you have not to write your own setup function and call createCanvas.