We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am trying to put a processing sketch on a web page, but i cannot include the .pde file as an external file. When i type the code inline it works, but when including it in the 'data-processing-sources' attribute of the canvas tag, it doesn't work. I don't know if this is the right forum to ask about processing.js. Any kind of help is welcomed.
Answers
Did you read this ? http://processingjs.org/articles/p5QuickStart.html#processingcodeinwebpage
Yes, I can do that, putting my code in the html file, and it works. My problem is when trying to load my processing code as an external file. I just get a blank page.