We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey guys, i can't figure out why my code is working in PDE but not in processing.js. I found some solutions online and made sure i wasn't making mistakes like overriding processing methods. Everything seems ok but it still doesn't work in a processing.js canvas.
Here is my code: krishanmarco.altervista.org/art.pde
I prefered to link it externally because it's quite long. Also excuse my the half italian half english comments, i still have to make up my mind :O.
In my html page i have:
<script src="processing/processing.min.js"></script>
<canvas data-processing-sources="processing/art/art.pde"></canvas>
Answers
You'll have much better luck if you boil your problem down to an MCVE.
But your first step should be simply checking the JavaScript console for errors. Just press F12 in your browser, go to console, and then reload the page.
You might also post a link so we can try to run it in our own browsers.